Entity Framework - How do create an association to/from the same entity?

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-04-29T21:04:08Z Indexed on 2010/04/29 21:07 UTC
Read the original article Hit count: 276

Filed under:
|

Hi,

In Entity Framework (VS2010) how do I create an association to/from the same table? (a many-to-many is what I want)

Background - I was expecting under the bonnet a NODE and RELATIONSHIP table, where the latter has a parent_node_id and a child_node_id (i.e. pointing back to the NODE id column). I can't seem to get the designer to add it...

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about .NET