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

ForeignKeyAttribute add cascadeDelete cascadeUpdate param #17730

Closed
Varorbc opened this issue Jun 29, 2016 · 2 comments
Closed

ForeignKeyAttribute add cascadeDelete cascadeUpdate param #17730

Varorbc opened this issue Jun 29, 2016 · 2 comments
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation area-System.ComponentModel.DataAnnotations help wanted [up-for-grabs] Good issue for external contributors
Milestone

Comments

@Varorbc
Copy link
Contributor

Varorbc commented Jun 29, 2016

ForeignKeyAttribute add cascadeDelete cascadeUpdate param

@divega
Copy link
Contributor

divega commented Feb 13, 2017

Data Annotations Triage: This seems like a good idea. Although we are not planning to do it in the near future we would consider a PR from someone in the community. Changes would need to happen in data persistence frameworks that reason about this attribute (such as EF Core) in order to make things work end-to-end.

@ajcvickers
Copy link
Member

This is not something we plan to implement. We might consider a community PR for it, but it would deviate the behavior in .NET Framework and .NET Core, and I'm not sure the value is worth that. For EF Core mappings, we would consider it as a new attribute.

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 3.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation area-System.ComponentModel.DataAnnotations help wanted [up-for-grabs] Good issue for external contributors
Projects
None yet
Development

No branches or pull requests

5 participants