L
Lloyd Sheen
I have an existing set of tables which I have put into a Linq to SQL class.
Those tables I have had no problems with.
I have created some new tables and when I add them to the a new Linq to SQL
I found that I could query, but when I use the InsertAllOnSubmit command to
insert into the database the IDE (or the program) fails.
So I look at the existing good application and see that the items defined
there have a:
Implements System.ComponentModel.INotifyPropertyChanging,
System.ComponentModel.INotifyPropertyChanged
for each table.
There is also:
Partial Private Sub OnCreated()
End Sub
Partial Private Sub InsertFolder(instance As Folder)
End Sub
Partial Private Sub UpdateFolder(instance As Folder)
End Sub
Partial Private Sub DeleteFolder(instance As Folder)
End Sub
for each table. The new on only has OnCreated and no implements.
I am very confused. Linq seemed like an easy to use tool but seeing this
has me wondering.
Help??
Lloyd Sheen
Those tables I have had no problems with.
I have created some new tables and when I add them to the a new Linq to SQL
I found that I could query, but when I use the InsertAllOnSubmit command to
insert into the database the IDE (or the program) fails.
So I look at the existing good application and see that the items defined
there have a:
Implements System.ComponentModel.INotifyPropertyChanging,
System.ComponentModel.INotifyPropertyChanged
for each table.
There is also:
Partial Private Sub OnCreated()
End Sub
Partial Private Sub InsertFolder(instance As Folder)
End Sub
Partial Private Sub UpdateFolder(instance As Folder)
End Sub
Partial Private Sub DeleteFolder(instance As Folder)
End Sub
for each table. The new on only has OnCreated and no implements.
I am very confused. Linq seemed like an easy to use tool but seeing this
has me wondering.
Help??
Lloyd Sheen