In my last post I had discussed about entity relationships,navigational properties and how we can fetch data from database into the entities.In this post we will examine the many to many relationships and how this can be modeled using POCO and the CTP 4.0 Code First Approach.We will consider three tables Person,Club and ClubMember where each Person can belong to multiple Clubs as shown below:
Archive for October 23, 2010
Entity Framework CTP 4.0 – Many To Many Mappings
Posted: October 23, 2010 in .NET, ADO.NET Entity Framework, C#Tags: CTP 4.0, Entity Framework
10

