Skip to content

UnitOfWork and Repository patterns implemented for multiple ORMs

Notifications You must be signed in to change notification settings

pkirilin/UnitOfWorkExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnitOfWorkExample

There are many examples in the internet of UnitOfWork and Repository patterns implemented for EntityFramework Core. But what if your ORM is not EF Core? Or maybe you decide to change ORM after some time? Can you safely use the same abstraction you've implemented for EF Core? Most likely, the answer is no.

The goal of this project was to find out the following:

How to implement UnitOfWork and Repository, which has the same interface regardless of what ORM you are using?

The project itself is a simple CRUD weather forecast API.

About

UnitOfWork and Repository patterns implemented for multiple ORMs

Topics

Resources

Stars

Watchers

Forks

Languages