Dapper.SimpleCRUD 1.1.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.1.0
dotnet add package Dapper.SimpleCRUD --version 1.1.0
<PackageReference Include="Dapper.SimpleCRUD" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper.SimpleCRUD --version 1.1.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.0:  Initial Release
     * version 1.0.1: Added comments to methods, refactored get and delete(id) methods to allow only one key in the entity
     * version 1.0.2: Added ability to include complex types in insert and update operations by decorating them with the Editable(true) attribute - useful for enumerators
     * version 1.0.3: Added GetList() without where filter and corresponding tests. Fixed package reference to Dapper in test project. Fixed bug with null parameter in GetList(object where).
     * version 1.0.4: Added nullable types to SimpleTypes allowed list. Add a test for this case. Added sql statements to output window when debugger is attached.
     * version 1.0.5: Updated documentation
     * version 1.0.6: Allow newer Dapper version
     * version 1.0.7: Fix bug when last property is a key and generated sql ended with trailing comma. Added T4 template to generate POCOs. Added sample website project using the T4 and SimpleCRUD
     * version 1.1.0: Allow table attribute to inherit. Incremented minor version here as I should have done that with the prior few releases

    • Dapper (>= 1.0.0 && < 2.0.0)

Version History

Version Downloads Last updated
2.1.0 14,497 2/22/2019
2.0.1 35,711 10/2/2018
2.0.0 19,440 7/12/2018
2.0.0-beta 192 7/9/2018
1.13.0 93,583 9/19/2016
1.12.0 7,415 8/1/2016
1.11.1 6,007 6/16/2016
1.11.0 612 6/15/2016
1.10.0 14,080 12/3/2015
1.9.3 663 12/1/2015
1.9.2 2,354 10/27/2015
1.9.1 2,782 8/29/2015
1.9.0 1,463 7/27/2015
1.9.0-beta 321 7/22/2015
1.8.7 19,644 5/14/2015
1.8.6 1,043 4/23/2015
1.8.5 13,417 2/27/2015
1.8.4 666 2/8/2015
1.8.3 555 1/30/2015
1.8.2 464 1/20/2015
1.8.1 333 1/19/2015
1.8.0 430 1/19/2015
1.7.0 478 1/9/2015
1.6.0 458 12/30/2014
1.4.1 1,720 6/23/2014
1.4.0 486 6/4/2014
1.3.0 966 12/19/2013
1.2.2 1,171 7/4/2013
1.2.1 412 7/4/2013
1.2.0 668 3/18/2013
1.1.4 489 2/14/2013
1.1.3 451 2/4/2013
1.1.2 432 2/4/2013
1.1.1 424 2/4/2013
1.1.0 489 1/25/2013
1.0.7 436 1/23/2013
1.0.6 454 1/17/2013
1.0.5 520 1/8/2013
1.0.4 428 1/8/2013
1.0.3 434 1/4/2013
1.0.2 510 12/26/2012
1.0.1 443 12/24/2012
1.0.0 611 12/24/2012
Show less