Hi
I have lots of tables and some of them have many relationships with other tables. I noticed the tables that have one relationship I am able to do what it is shown in NerdDinner Chapter 1.
Dinner dinner = db.Dinners.Single(d => d.DinnerID == 1);
RSVP myRSVP = new RSVP();
myRSVP.AttendeeName = "ScottGu";
dinner.RSVPs.Add(myRSVP);
So when I try something similar .add never shows up for me unless it has like one relationship.
So how do I make it work for multiple ones?
I am still not clear what this gets me anyways. Like does it save in typing? or what?