You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table City which has a 1..N association with Country (Allow Foreign Keys option is enabled).
When EFDesigner generates the class the constructor of the class is including the foreign keys fields.
Proposed behavior:
EFDesigner should not include foreign keys in the generated constructor, only the associative objects. (better if have an option to enable/disable this).
Current behavior:
Both foreign keys and associative objects are in the constructor.
Versions
EF Visual Editor: 4.1.2.0
Visual Studio 2022: 17.1.6
The text was updated successfully, but these errors were encountered:
msawczyn
added
released
Issue is resolved in a current release
and removed
pending release
Issue is resolved in the current codebase, will be published with the next release
labels
Aug 13, 2022
Problem:
I have a table City which has a 1..N association with Country (Allow Foreign Keys option is enabled).
When EFDesigner generates the class the constructor of the class is including the foreign keys fields.
Proposed behavior:
EFDesigner should not include foreign keys in the generated constructor, only the associative objects. (better if have an option to enable/disable this).
Current behavior:
Both foreign keys and associative objects are in the constructor.
Versions
EF Visual Editor: 4.1.2.0
Visual Studio 2022: 17.1.6
The text was updated successfully, but these errors were encountered: