Getting A LINQ .InsertOnSubmit To Work
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?



Getting A LINQ .InsertOnSubmit To Work
===

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?


