Entity Framework Many-To-Many with additional field on Joining Table

Posted by Cory G on Stack Overflow See other posts from Stack Overflow or by Cory G
Published on 2009-11-24T02:19:35Z Indexed on 2010/05/22 22:50 UTC
Read the original article Hit count: 414

I have an entity context that includes three tables (see diagram here). The first is a table that contain products, the second contains recipes. The joining table has fields for IDs in both the products and recipes table as well as a 'bit' field called 'featured'.

I've searched and found no example on how to insert only how to select against this type of scenario.Does anyone have any suggestions on how this can be done? Thanks in advance for any help.

Cory

© Stack Overflow or respective owner

Related posts about c#

Related posts about linq-to-sql