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)

Showing the top 2 GitHub repositories that depend on Dapper.SimpleCRUD:

Repository Stars
yilezhu/Czar.Cms
.NET Core实战项目之CMS系列教程的源码,精简而又功能丰富的权限设计,内容管理设计让你轻松搭建一个ASP.NET Core2.2的网站系统.此项目准备用EFCore进行重构,敬请期待
MoonStorm/Dapper.FastCRUD
The fastest micro-orm extension for Dapper

Version History

Version Downloads Last updated
2.1.0 34,602 2/22/2019
2.0.1 45,055 10/2/2018
2.0.0 20,870 7/12/2018
2.0.0-beta 238 7/9/2018
1.13.0 105,006 9/19/2016
1.12.0 7,690 8/1/2016
1.11.1 6,239 6/16/2016
1.11.0 678 6/15/2016
1.10.0 14,466 12/3/2015
1.9.3 716 12/1/2015
1.9.2 2,518 10/27/2015
1.9.1 2,852 8/29/2015
1.9.0 1,521 7/27/2015
1.9.0-beta 365 7/22/2015
1.8.7 21,561 5/14/2015
1.8.6 1,098 4/23/2015
1.8.5 13,736 2/27/2015
1.8.4 728 2/8/2015
1.8.3 605 1/30/2015
1.8.2 525 1/20/2015
1.8.1 382 1/19/2015
1.8.0 482 1/19/2015
1.7.0 541 1/9/2015
1.6.0 526 12/30/2014
1.4.1 1,801 6/23/2014
1.4.0 539 6/4/2014
1.3.0 1,032 12/19/2013
1.2.2 1,257 7/4/2013
1.2.1 496 7/4/2013
1.2.0 755 3/18/2013
1.1.4 571 2/14/2013
1.1.3 514 2/4/2013
1.1.2 517 2/4/2013
1.1.1 504 2/4/2013
1.1.0 583 1/25/2013
1.0.7 509 1/23/2013
1.0.6 533 1/17/2013
1.0.5 604 1/8/2013
1.0.4 483 1/8/2013
1.0.3 516 1/4/2013
1.0.2 596 12/26/2012
1.0.1 521 12/24/2012
1.0.0 699 12/24/2012
Show less