Dapper.SimpleCRUD 2.3.0

.NET Standard 2.0
Install-Package Dapper.SimpleCRUD -Version 2.3.0
dotnet add package Dapper.SimpleCRUD --version 2.3.0
<PackageReference Include="Dapper.SimpleCRUD" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper.SimpleCRUD --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dapper.SimpleCRUD, 2.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dapper.SimpleCRUD as a Cake Addin
#addin nuget:?package=Dapper.SimpleCRUD&version=2.3.0

// Install Dapper.SimpleCRUD as a Cake Tool
#tool nuget:?package=Dapper.SimpleCRUD&version=2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Simple Get, GetList, GetListPaged, Insert, Update, Delete, DeleteList, and RecordCount 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
         By default queries the column matching the property name but this can be overridden with an attribute  
         - Supports SQL Server, PostgreSQL, and MySQL
         - Includes async methods
         - Supports .Net Core

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (31)

Showing the top 5 NuGet packages that depend on Dapper.SimpleCRUD:

Package Downloads
Edakik.Shared.Library

Package Description

TianFeng.FrameworkCore

天枫 .net core 组件,支持.net6

EachShow.DataAccess.Core

Package Description

Cigel.DotNetCore

Package Description

YuckQi.Data.Sql.Dapper

An implementation of YuckQi.Data for SQL databases using Dapper and SimpleCRUD.

GitHub repositories (2)

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

Repository Stars
yilezhu/Czar.Cms
.NET Core实战项目之CMS系列教程的源码,精简而又功能丰富的权限设计,内容管理设计让你轻松搭建一个ASP.NET Core2.2的网站系统.此项目准备用EFCore进行重构,敬请期待
MoonStorm/FastCrud
fast & light .NET ORM for strongly typed people
Version Downloads Last updated
2.3.0 384,008 3/15/2021
2.2.0.1 745,945 12/18/2019
2.2.0 114,452 10/2/2019
2.1.0 215,455 2/22/2019
2.0.1 151,839 10/2/2018
2.0.0 39,068 7/12/2018
2.0.0-beta 764 7/9/2018
1.13.0 235,048 9/19/2016
1.12.0 9,771 8/1/2016
1.11.1 8,934 6/16/2016
1.11.0 1,533 6/15/2016
1.10.0 19,273 12/3/2015
1.9.3 1,682 12/1/2015
1.9.2 4,307 10/27/2015
1.9.1 4,035 8/29/2015
1.9.0 2,378 7/27/2015
1.9.0-beta 912 7/22/2015
1.8.7 36,770 5/14/2015
1.8.6 4,770 4/23/2015
1.8.5 17,379 2/27/2015
1.8.4 1,449 2/8/2015
1.8.3 1,274 1/30/2015
1.8.2 1,121 1/20/2015
1.8.1 981 1/19/2015
1.8.0 1,414 1/19/2015
1.7.0 1,161 1/9/2015
1.6.0 1,286 12/30/2014
1.4.1 3,676 6/23/2014
1.4.0 1,180 6/4/2014
1.3.0 1,712 12/19/2013
1.2.2 2,170 7/4/2013
1.2.1 1,298 7/4/2013
1.2.0 1,390 3/18/2013
1.1.4 1,221 2/14/2013
1.1.3 1,164 2/4/2013
1.1.2 1,145 2/4/2013
1.1.1 1,138 2/4/2013
1.1.0 1,204 1/25/2013
1.0.7 1,121 1/23/2013
1.0.6 1,152 1/17/2013
1.0.5 1,219 1/8/2013
1.0.4 1,106 1/8/2013
1.0.3 1,171 1/4/2013
1.0.2 1,235 12/26/2012
1.0.1 1,162 12/24/2012
1.0.0 1,606 12/24/2012

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.
* version 1.8.0 Added support and tests for SQLite. Added additional GetList method that accepts a raw SQL where clause for more advanced queries.
* version 1.8.2 Added logo, updated package description
* version 1.8.3 Fix for async get method, added additional tests around async methods
* version 1.8.4 Fix for custom column name on primary key in get and delete methods
* version 1.8.5 Added support for ReadOnly attribute on properties which allows selecting it from the database but ignores it on inserts and updates
* version 1.8.6 Allow a column named Id column to not be considered a key when another [Key] is specified
* version 1.8.7 Fix for GUID primary key named Id
* version 1.9.0 Added GetListPaged, DeleteList, and RecordCount methods and support for specified value in primary key
* version 1.9.1 MySQL Support
* version 1.9.2 Fix for async insert with specified value in primary key
* version 1.9.3 Fix for issue with GetPagedList with custom column name for primary key - Thanks haleaurelian. Added DeleteList with anonymous object
* version 1.10.0 Added IgnoreUpdate, IgnoreInsert, and IgnoreSelect attributes
* version 1.11.0 Added resolvers PR, typed attributes, merged recordcount where conditions PR, performance improvements PR   
* version 1.11.1 Bug fix for resolvers to allow attributes from different namespaces (SimpleCRUD and Data Annotations)
* version 1.12.0 Added notmapped attribute to match DataAnnotations (thanks Mattykins). Allow insert with string primary key (thanks xalikoutis)
* version 1.13.0 Accept parameters on getlist, getlistpaged, deletelist, recordcount, and matching async methods
* version 2.0.0 Bug fixes, .Net Core support, remove Sqlite support
* version 2.0.1 Re-add SQLite, allow string primary keys
* version 2.1.0 Speed improvements (thanks jonathanlarouche)
* version 2.2.0 Dapper 2.x support
* version 2.3.0 Update DB2 support (mvaz77), Interface support (jonathanlarouche)