-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Supporting UnitOfWork #16
Comments
@mehdihadeli I am still not sure about whether should I change this or not. But If I do this, then it will be a huge breaking change that will break existing applications. |
Generic Repositories are often considered an anti-pattern (in the Entity Framework world), thats beacuse the |
Of course, you can! |
Personally, don't like the idea of UoW while using EF. It's an unnecessary level of abstraction and it will make the library heavier and complicated. Been using only the Repository pattern and transactions without any issue so far, although I understand there might be valid usages for it. I like this library because of it's simplicity. |
Please share your thoughts in : #25 |
Hi,
Thanks for your good implementation.
I have a suggestion, In my opinion it is better we have a separated
UnitOfWork
pattern on top of this repository instead of doingSaveChanges
inner repository because it is not responsibility of a repository, and it breaks single responsibility.The text was updated successfully, but these errors were encountered: