Saturday, 7 September 2013

Repository Pattern and Unit of work

 Repository Pattern:
Isolate our application from changes in the data store.
Help in automated testing and test driven development ( mocking i.e. in memory colleciton)

Unit of Work:
Maintains the list of objects effected by a business transaction and co-ordinates the writing out of changes and resolve concurrency problems.