Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MyKeySoftMK opened this issue Apr 14, 2024 · 0 comments

Comments

@MyKeySoftMK
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant