EF code first, Entities with multiple relations
问题 Here you can see my reduced entity structure which I would like to store in my Sqlite database. I've a Graph which holds a Set of GraphElements . My Graph consists of Edges , Nodes and Loads which are all different Elements. For a deep-first-search for example each node needs to know its neighbor nodes. Therefore I need the NeigborNodes -List. For other functionalities I need also to know the ConnectedElements -List. class Graph { public int Id { get; set; } public string Name { get; set; }