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

Configure OnDelete for join entity types on SQL Server #21959

Merged
2 commits merged into from
Aug 6, 2020
Merged

Configure OnDelete for join entity types on SQL Server #21959

2 commits merged into from
Aug 6, 2020

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Aug 6, 2020

Make join entity type name deterministic
Use skip navigation name for the implicit FK name

Fixes #21858
Fixes #21870
Fixes #21915

Make join entity type name deterministic

Fixes #21858
Fixes #21870
@ghost
Copy link

ghost commented Aug 6, 2020

Hello @AndriySvyryd!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@@ -232,7 +232,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder, DbContext con
.UsingEntity<Dictionary<string, object>>(
Copy link
Member

Choose a reason for hiding this comment

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

Can this pair be configured by convention? (I can update that as it can cause SQL assertion updates)

Copy link
Member Author

@AndriySvyryd AndriySvyryd Aug 6, 2020

Choose a reason for hiding this comment

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

Yes, I changed the convention for the FK properties and added TODOs here so you can remove the usings.

@ghost ghost merged commit eb6584f into main Aug 6, 2020
@ghost ghost deleted the Issue21858 branch August 6, 2020 23:31
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants