I have create a simple Database: Parent => Child and Parent <= Reference
I create a new ParentItem and add some Childs and some References. All Associations are Bi-Directional and Many:Many. I save the ParentItem to DB and it works. All Data is writen in the Tables
When I read the ParentItem from the DB then the Child-Property is filled. The References-Property is empty.
At the Ref-Association I have on End1 and End2 set the "Auto Include" Option
To reproduce the scenario I have create a simple MSTest-Project. In the Folder "NestedEntities" you find my Test-Class. The Methode "ModifyChildReferenceEntities" show the problem
I have create a simple Database: Parent => Child and Parent <= Reference
I create a new ParentItem and add some Childs and some References. All Associations are Bi-Directional and Many:Many. I save the ParentItem to DB and it works. All Data is writen in the Tables
When I read the ParentItem from the DB then the Child-Property is filled. The References-Property is empty.
At the Ref-Association I have on End1 and End2 set the "Auto Include" Option
To reproduce the scenario I have create a simple MSTest-Project. In the Folder "NestedEntities" you find my Test-Class. The Methode "ModifyChildReferenceEntities" show the problem
EFDesigner2022Tests.zip