↓ Skip to main content

IRepository

ASP.NET Core – MongoDB Repository Pattern & Unit Of Work

ASP.NET Core – MongoDB Repository Pattern & Unit Of Work

·5 mins
The implementation of generic repositories and Unit Of Work are complex tasks in MongoDB. The lack of mechanisms in the component hinders its adoption. See how to implement this article. Unit of Work Unit Of Work is a standard used to group one or more operations (usually database operations) into a single transaction or “unit of work”, so that all operations are approved or disapproved as one.

ILinqRepository at last

·4 mins
LINQ to SQL is a very easy to use and very powerful tool for many things when dealing with SQL. But the time has come that I need to wrap it all up and use an iRepository pattern. I’ve Googled for the IRepository and found a few useful references but none that will complete my picture. How ever I did get some good ideas when looking around othe rimplementation of the IRepository pattern that others had implmented.