score:2

Could you possibly attach the child entities before you attach the parent entity? Would that prevent the attach issue?

Just use reflection to get all of the EntityRef objects, and attach the Entity property of each to the appropriate table.


Related Articles