Dapper.FastCrud
The fastest micro-orm type extension for Dapper is built around essential features of the C# 6 /VB 14 that have finally raised the simplicity of raw SQL constructs to acceptable maintenance levels. These features leave no chance to mistypings or problems arising from db entity refactorings. The package contains .NET 4.5 and 4.6 DLLs, one of which will be installed based on the target framework in your project. There is no need to target .NET 4.6, but it is mandatory to use VS2015 or an equivalent build environment. For .NET 4.5, the package will also install the dependency 'StringInterpolationBridge', which contains the polyfills required when using string interpolation with the C# 6 compiler in VS 2015. Features: ---------- - Support for LocalDb, Ms Sql Server, MySql, SqLite, PostgreSql - Composite primary keys are supported - Multiple entity mappings are supported, useful for partial queries in large denormalized tables and data migrations between different database types. - All the CRUD methods accept a transaction, a command timeout, and a custom entity mapping. - Fast pre-computed entity queries - A useful SQL builder and statement formatter which can be used even if you don't need the CRUD features of this library. - A generic T4 template for C# is also provided for convenience in the NuGet package Dapper.FastCrud.ModelGenerator. Code first entities are also supported which can either be decorated with attributes, have their mappings programmatically set, or using your own custom convention. Please check the project site for usage and benchmarks.
Install
dotnet add package Dapper.FastCrud --version 2.3.0
Install-Package Dapper.FastCrud -Version 2.3.0
<PackageReference Include="Dapper.FastCrud" Version="2.3.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.