1
pimps
230 days, 15 minutes ago
Saturday, January 16, 2010 2:17:47 PM GMT Friday, January 15, 2010 6:44:18 PM GMT

LINQ to SQL and missing Many to Many EntityRefs

LINQ to SQL and missing Many to Many EntityRefs
 
west-wind.com -- Ran into an odd behavior today with a many to many mapping of one of my tables in LINQ to SQL. Many to many mappings aren’t transparent in LINQ to SQL and it maps the link table the same way the SQL schema has it when creating one. In other words LINQ to SQL isn’t smart about many to many mappings and just treats it like the 3 underlying tables that make up the many to many relationship. Iain Galloway has a nice blog entry about Many to Many relationships in LINQ to SQL.
hismightinesshismightiness posted 230 days, 19 hours, 49 minutes ago     show counter code
tags: entity framework, Linq, LINQ to SQL, sql

1 comment posted.

To post your comment please login or signup