PeregrineDb is a small and fast Dapper.Net extension library to perform CRUD statement with POCO models.
I was using the fantastic Dapper.SimpleCRUD library and found it incredibly easy to use. However, two things drove me to write this library - I have a project which uses SqlServer and Postgres databases side-by-side, and unfortunately Dapper.SimpleCRUD does not support this. Second, I found it was missing a few crucial optimizations which was doubling the time taken to easily insert many rows.
Currently, the following DBMS are supported. More will be added (e.g. SQLite) when there is demand for them:
Don't forget, for practical examples of usage, you can also browse our extensive unit tests suite.
NB: These may not be correct nor up-to-date. I made this comparison very quickly
Library | Operations | Composite Keys | Async | .Net Core | Notes |
---|---|---|---|---|---|
PeregrineDb | Count Find/Get Get(Range/All) GetPage Insert(Range) Update(Range) Delete(Range/All) |
:heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
Dapper.Contrib | Get GetAll Insert Update Delete(All) |
:heavy_check_mark: | :heavy_check_mark: |
|
|
Dapper.Extensions | Get Insert Update Delete GetList GetPage/GetSet Count |
:heavy_check_mark: |
|
||
Dapper.FastCRUD | Insert Get Find(Equivalent to GetRange) (Bulk)Update (Bulk)Delete Count |
:heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
Dapper.SimpleCRUD | Get GetList GetListPaged Insert Update Delete(List) RecordCount |
:heavy_check_mark: |
|
Simply add the nuget package PeregrineDb to your project.
This project can be used and distributed under the MIT License.
Please read Notice for licenses of other projects used by or inspirations of this projects.