Skip to content

A generic implementation of the Repository Pattern with Unit of Work in C# and EF6.

Notifications You must be signed in to change notification settings

thiagobelem/RepositoryUnitOfWork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RepositoryUnitOfWork

A generic implementation of the Repository Pattern with Unit of Work in C# and EF6.

Repository

Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.

Benefits

  • Minimizes duplicate query logic
  • Decouples your application from persistence frameworks

Unit of Work

Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.

Benefits

  • Manage transactions
  • Ensures that when using multiple repositories, they share a single database context
References

Martin Fowler - Repository - Unit of Work

About

A generic implementation of the Repository Pattern with Unit of Work in C# and EF6.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages