I started using Entity Framework (Using POCO Classes) for a MVC 3 C# project with Razor Views.
I am having trouble implimenting the Many to Many features with it
I am trying to Create a View that when a User is able to add phone numbers, emails, musictypes, flags, holds, ntoes, etc... through Many to Many relationships
i.e.) Company ----> CompanyVenue <---- Venue
I have managed to get EF storing the Venue and then being able to asign the Venue afterwards by selecting the Venue in a list and assigning to to the Company.
Is there a way to get The Venue to automatically store the relationship from the Company to the Venue with out having to select it though a list?
If that is not possible can anyone share a better way of Implimenting using EF.