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
{{ message }}
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
After update to Version 3.0.3.2 (Entity Framework 6, Npgsql )
The tool generate a constructor for each entity like this:
public Person()
{
Country = new global::Sepadron.Modelos.Country();
State = new global::Sepadron.Modelos.State();
....
Init();
}
As you can see, it make a empty object for each "foreing key".
This cause he lazy loading not works.
If I comment this lines in the constructor the lazy loading works fine.
Can someone explain to me the reason for these lines of code and how I can make them not generate?
King Regards,
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
Feb 19, 2021
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
Labels
bugConfirmed bugreleasedIssue is resolved in a current release
After update to Version 3.0.3.2 (Entity Framework 6, Npgsql )
The tool generate a constructor for each entity like this:
public Person()
{
Country = new global::Sepadron.Modelos.Country();
State = new global::Sepadron.Modelos.State();
....
As you can see, it make a empty object for each "foreing key".
This cause he lazy loading not works.
If I comment this lines in the constructor the lazy loading works fine.
Can someone explain to me the reason for these lines of code and how I can make them not generate?
King Regards,
The text was updated successfully, but these errors were encountered: