Dapper.SimpleCRUD 1.7.0

Simple Get, GetList, Insert, Update, and Delete extensions for Dapper. Uses smart defaults for attribute free classes but can be overridden as needed.
 By default uses Id column as the primary key but this can be overridden with an attribute
 By default queries the table matching the class name but this can be overridden with an attribute

There is a newer version of this package available.
See the version list below for details.
Install-Package Dapper.SimpleCRUD -Version 1.7.0
dotnet add package Dapper.SimpleCRUD --version 1.7.0
<PackageReference Include="Dapper.SimpleCRUD" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper.SimpleCRUD --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Full documentation can be found at https://github.com/ericdc1/Dapper.SimpleCRUD/
* version 1.3.0: Support for multiple schemas, non int primary keys. Fixed issue with editable attribute annotations. Made enums be considered "editable" so you can have integers in the database and represent them as enums in the code and have SimpleCRUD map them without extra pain.
* version 1.4.0: Switched to using Nullable.GetUnderlyingType(type) so we don't need to explicitly check for all nullable types. This also has the side effect of fixing checks for nullable enums without the editable attribute.
* version 1.4.1: Added support for short and long primary key types on insert method
* version 1.5.0 Target .Net 4.5, support for PostgreSQL, SQL Server now uses scope_identity on insert rather than @@identity. Add support for GUID primary keys
* version 1.6.0 Target .Net 4.0 and 4.5 and add async support / remove SQLCE support Special thanks to https://github.com/Prnda1976 for help with the pull request backlog
* version 1.7.0 Added column attribute and made gets specify column names rather than select * . Changed GUID to autogenerate when the property value is empty. Ability to change database dialect from SQL Server to PostgreSQL.

    • Dapper (>= 1.38.0 && < 2.0.0)

Version History

Version Downloads Last updated
2.1.0 20,921 2/22/2019
2.0.1 38,520 10/2/2018
2.0.0 19,921 7/12/2018
2.0.0-beta 210 7/9/2018
1.13.0 96,977 9/19/2016
1.12.0 7,461 8/1/2016
1.11.1 6,065 6/16/2016
1.11.0 628 6/15/2016
1.10.0 14,208 12/3/2015
1.9.3 679 12/1/2015
1.9.2 2,380 10/27/2015
1.9.1 2,800 8/29/2015
1.9.0 1,484 7/27/2015
1.9.0-beta 333 7/22/2015
1.8.7 20,378 5/14/2015
1.8.6 1,058 4/23/2015
1.8.5 13,503 2/27/2015
1.8.4 681 2/8/2015
1.8.3 571 1/30/2015
1.8.2 479 1/20/2015
1.8.1 344 1/19/2015
1.8.0 445 1/19/2015
1.7.0 496 1/9/2015
1.6.0 476 12/30/2014
1.4.1 1,750 6/23/2014
1.4.0 502 6/4/2014
1.3.0 982 12/19/2013
1.2.2 1,189 7/4/2013
1.2.1 429 7/4/2013
1.2.0 686 3/18/2013
1.1.4 510 2/14/2013
1.1.3 474 2/4/2013
1.1.2 452 2/4/2013
1.1.1 444 2/4/2013
1.1.0 509 1/25/2013
1.0.7 457 1/23/2013
1.0.6 474 1/17/2013
1.0.5 540 1/8/2013
1.0.4 449 1/8/2013
1.0.3 454 1/4/2013
1.0.2 530 12/26/2012
1.0.1 463 12/24/2012
1.0.0 632 12/24/2012
Show less