Skip to content

Conversation

bricelam
Copy link
Contributor

Fixes #2272

}

foreach (var definingForeignKey in entityType.GetDeclaredReferencingForeignKeys()
.Where(fk => fk.DeclaringEntityType.DefiningEntityType == entityType))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndriySvyryd is this this right? In Relational, do navigation-defined entity types always map to the principal entity type's table?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's just the default.

Copy link
Contributor Author

@bricelam bricelam Oct 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, will add some more tests and react

@bricelam
Copy link
Contributor Author

bricelam commented Oct 23, 2017

The more code I write, the less confident I become. 😄 I'm doing one last round of bashing before merging this.

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

Successfully merging this pull request may close these issues.

4 participants