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

Model building changes from EF6 #1989

Open
AndriySvyryd opened this issue Dec 13, 2019 — with docs.microsoft.com · 0 comments
Open

Model building changes from EF6 #1989

AndriySvyryd opened this issue Dec 13, 2019 — with docs.microsoft.com · 0 comments

Comments

Copy link
Member

AndriySvyryd commented Dec 13, 2019

  • Entity types aren't discovered unless referenced from a DbSet or other entity type.
  • Shadow FK column name is different
  • Navigation().IsRequired() needs to be used instead of HasRequired()/HasOptional
  • .Map() functionality is covered by overloads with StoreObjectIdentifier parameter
    • MapInheritedProperties() is replaced by InheritPropertyMapping()

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

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

No branches or pull requests

2 participants