Getting A LINQ .InsertOnSubmit To Work

Posted by Soo on Stack Overflow See other posts from Stack Overflow or by Soo
Published on 2010-05-12T16:20:10Z Indexed on 2010/05/12 16:24 UTC
Read the original article Hit count: 413

Filed under:
|

Hi SO,

I'm trying to get an insert to work using LINQ and am having some difficulties.

I am using this example to base my code: http://msdn.microsoft.com/en-us/library/bb763516.aspx

I have my data object set up, but don't know what's going on when db.Orders.InsertOnSubmit is executed.

How can I create this db object to insert a data object into my database using InsertOnSubmit?

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about insertonsubmit