Strange Linq Problem

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top