Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange Linq Problem

0 views
Skip to first unread message

Lloyd Sheen

unread,
May 1, 2008, 3:17:51 PM5/1/08
to
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

0 new messages