EFDesigner2022 icon indicating copy to clipboard operation
EFDesigner2022 copied to clipboard

Added Reference Item is saved but will not read with "AutoInclude"-Option

Open MyKeySoftMK opened this issue 10 months ago • 0 comments

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

MyKeySoftMK avatar Apr 14 '24 10:04 MyKeySoftMK