Posted on: 10/16/2015 1:35:06 AM | Views : 1110

Hi,
I would like to insert using EF 4 but on multiple table at one statement. tables are student, course, courseeInstructor
table (Student) ID   => FirstName  LastName
table (Course)  ID  Title  Credit
table (CourseInstructor)   CourseId (FK)  StudentId (FK)
if you see above it like many to many which has broken into one to many table.
Now, I am using entityframework(4.1) and would like to insert in those table. I know if I want to insert on only table I can do following .     try             {                 Student std = new Student()                 {                &n ...

Go to the complete details ...