-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Owned Property Error In Add Migration #22886
Comments
Duplicate of #12462 |
is there any way to disable lazy loading for a specific entity i didnt find any thing in this link im using ef core 3.1.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello there
i have a entity like this
and the SmtpConfig class is
when im try ing to add migrations i got navigation propert error
An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider. Error: Navigation property 'Smtp' on entity type 'SiteSettings' is not virtual. UseLazyLoadingProxies requires all entity types to be public, unsealed, have virtual navigation properties, and have a public or protected constructor.
The text was updated successfully, but these errors were encountered: