Isolating Data Access Layer that uses Entity Framework to prepare for unit testing with mocking


The repository and unit of work patterns help developers create an abstraction layer between the data access layer and business logic layer of an application. By implementing these patterns, applications become more resistant to changes in the data store and easier to unit test or develop using TDD. These patterns can be extremely helpful in building high-quality, maintainable software.

Reacties

Populaire posts