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

Relational Metadata: Default constraint names reference properties not columns #5475

Closed
bricelam opened this issue May 23, 2016 · 0 comments
Closed
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@bricelam
Copy link
Contributor

bricelam commented May 23, 2016

For an entity configured with the following...

modelBuilder.Entity<Employee>().Property(e => ManagerId).HasColumnName("Manager");

...default constraint names currently look something like the following.

AK_Employee_ManagerId
IX_Employee_ManagerId
FK_Employee_Employee_ManagerId

In EF6, they looked like this.

AK_Employee_Manager
IX_Employee_Manager
FK_Employee_Employee_Manager
@rowanmiller rowanmiller added this to the 1.0.0 milestone May 23, 2016
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Jun 6, 2018
@AndriySvyryd AndriySvyryd removed their assignment Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

No branches or pull requests

3 participants