Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

kevinhillinger/Dapper.Persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dapper.Persistence

dapper-dot-net persistence library. Simple. light.

data context + repository + unit of work. that simple.

What's this for?

This isn't meant to be a replacement for an ORM. This isn't about a large framework. This is about providing a data context for a repository without directly depending on an IDbConnection, then use the semantics of unit of work to have transactions in your business services.

Why did you wrap dapper?

First off, if Dapper gets an update, you get the update. I'm not rewriting dapper.

Second, it comes down to a belief thing for me: I don't believe that IDbConnection should be a direct dependency because too much can go wrong, particularly when sharing that connection. If IDbConnection is used, IDbConnection will be abused.

License

The license is Apache2.

About

Dapper Persistence - a simple context and unit of work for Dapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages