C#C
C#4y ago
8 replies
CrosRoad95

❔ ef7 Inserting child entities without primary key

i have an entity "Blog", with child entities "posts", post does not have id, only 2 properties
string content
and
int blogid
ef don't let me track posts becuase they are lacking of key ( post has explicit HasNoKey() ). Am i forced to add key or i can do it in other way?
Was this page helpful?