Last post Dec 21, 2015 03:02 AM by Chris Zhao
Dec 18, 2015 01:04 PM|Amera Tag Eldin|LINK
I need a sample for NTier Entity framework using repository pattern and UnitOfWork
Dec 21, 2015 03:02 AM|Chris Zhao|LINK
Hi,Amera Tag Eldin
The repository and unit of work patterns are intended to create an abstraction layer between the data access layer and the business logic layer of an application.
Implementing these patterns can help insulate your application from changes in the data store and can facilitate automated unit testing or test-driven development (TDD).
Please refer to the following.
Implementing the Repository
and Unit of Work Patterns in an ASP.NET MVC Application
Generic Repository, Entity Framework, Unit Testing, Autofac and ASP.NET MVC