Skip to content

Model building changes from EF6 #1989

Open

Description

@AndriySvyryd
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions