I'm using the newest Entity Framework and ran into a problem with Many To Many Relationship when I want to create an extra column.
The issue is the same raised in this older post: EF Code First Additional column in join table for ordering purposes
Is it still the problem today that one can not add an extra column without loosing the many to many relation ship (link from object A to B as A.B because the mapping becomes and entity it self) ?
What are the work a rounds ?
- Look up the a of class A I need and then query for mapping table
where(e=>e.A == a)
to get my Bs? And when I need the extra colums i would doMappingTable.find(a,b)
? - Are there other modeling options, linq to sql that would make it easier ?