-
Notifications
You must be signed in to change notification settings - Fork 249
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
Feature Request: Deletion of entities via specification #363
Comments
Yea we may add it. Do you want to give it a try? |
Yeah, I would try it out, I could also create a PR with UnitTests. |
No objections, go for it @thorstenalpers ! |
@ardalis I have created a fork and created a branch "feature/delete-range-by-spec" and created a PR in my repository. PR: #369 I have implemented it for both EF6 and EfCore. EF6 doesn't delete referenced entities automatically, therefore I added some specifications for entities without referenced entities. If you want some more tests or explanations then feel free to contact me. |
Resolved by PR #369 |
Hi, Ardalis Specification is a really great project that I use extensively as Nuget. I have an additional feature request. I have implemented in my own EfRepository, but would like to see in your project. It is about deleting entities per specification.
The existing way is to list entities and then delete them.
I could also create a PR with unittests.
The text was updated successfully, but these errors were encountered: