in http://msdn.microsoft.com/en-us/library/dd742359.aspx described about relationship Many-to-Many data relationships.
now how can perform insert,delete,update on CourseInstructo؟
for one-to-man relation This way I do:
var context= new Modle2();
var course= new Course() {title="math",...};
context.Course.addObject(course);
context.SaveChanges()
You can use navigation property at either end to manipulate the many-to-many relation.
For example,
For removing, use similar logic – for example,
Update does not make sense for many-to-many relations – it essentially Add and Remove combination.