Entity Framework CTP 4.0 – Many To Many Mappings

added by sankarsan
10/23/2010 7:47:10 AM

0 Kicks, 135 Views

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:


0 comments