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)

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 36,314 2/22/2019
2.0.1 45,733 10/2/2018
2.0.0 21,043 7/12/2018
2.0.0-beta 244 7/9/2018
1.13.0 105,941 9/19/2016
1.12.0 7,719 8/1/2016
1.11.1 6,269 6/16/2016
1.11.0 681 6/15/2016
1.10.0 14,502 12/3/2015
1.9.3 718 12/1/2015
1.9.2 2,552 10/27/2015
1.9.1 2,860 8/29/2015
1.9.0 1,523 7/27/2015
1.9.0-beta 366 7/22/2015
1.8.7 21,637 5/14/2015
1.8.6 1,099 4/23/2015
1.8.5 13,768 2/27/2015
1.8.4 728 2/8/2015
1.8.3 606 1/30/2015
1.8.2 526 1/20/2015
1.8.1 383 1/19/2015
1.8.0 483 1/19/2015
1.7.0 541 1/9/2015
1.6.0 527 12/30/2014
1.4.1 1,808 6/23/2014
1.4.0 540 6/4/2014
1.3.0 1,032 12/19/2013
1.2.2 1,260 7/4/2013
1.2.1 500 7/4/2013
1.2.0 759 3/18/2013
1.1.4 574 2/14/2013
1.1.3 518 2/4/2013
1.1.2 521 2/4/2013
1.1.1 507 2/4/2013
1.1.0 586 1/25/2013
1.0.7 513 1/23/2013
1.0.6 537 1/17/2013
1.0.5 608 1/8/2013
1.0.4 487 1/8/2013
1.0.3 519 1/4/2013
1.0.2 599 12/26/2012
1.0.1 525 12/24/2012
1.0.0 703 12/24/2012
Show less