TinyHelpers.Dapper
2.0.13
See the version list below for details.
dotnet add package TinyHelpers.Dapper --version 2.0.13
NuGet\Install-Package TinyHelpers.Dapper -Version 2.0.13
<PackageReference Include="TinyHelpers.Dapper" Version="2.0.13" />
paket add TinyHelpers.Dapper --version 2.0.13
#r "nuget: TinyHelpers.Dapper, 2.0.13"
// Install TinyHelpers.Dapper as a Cake Addin #addin nuget:?package=TinyHelpers.Dapper&version=2.0.13 // Install TinyHelpers.Dapper as a Cake Tool #tool nuget:?package=TinyHelpers.Dapper&version=2.0.13
Tiny Helpers for Dapper
A collection of helper methods and classes for Dapper that I use every day. I have packed them in a single library to avoid code duplication.
Installation
The library is available on NuGet. Just search for TinyHelpers.Dapper in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package TinyHelpers.Dapper
Usage
The library provides some Type Handlers to handle data types that are not natively supported by Dapper. They can be explicitly used calling the corresponding Configure
methods:
// using TinyHelpers.Dapper.TypeHandlers;
// Automatically serializes and deserializes Person class in JSON string.
JsonTypeHandler.Configure<Person>();
// Handles all string[] properties.
StringArrayTypeHandler.Configure();
// Handles all IEnumerable<string> properties.
StringEnumerableTypeHandler.Configure();
// Handles DateOnly and TimeOnly propertites.
DateOnlyTypeHandler.Configure();
TimeOnlyTypeHandler.Configure();
Contribute
The project is constantly evolving. Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dapper (>= 2.0.123)
- TinyHelpers (>= 2.0.28)
-
net6.0
- Dapper (>= 2.0.123)
- TinyHelpers (>= 2.0.28)
-
net7.0
- Dapper (>= 2.0.123)
- TinyHelpers (>= 2.0.28)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.16 | 85 | 10/9/2024 |
3.0.14 | 106 | 9/2/2024 |
3.0.13 | 83 | 7/10/2024 |
3.0.11 | 109 | 6/19/2024 |
3.0.9 | 92 | 5/9/2024 |
3.0.7 | 142 | 3/26/2024 |
3.0.6 | 138 | 2/27/2024 |
3.0.5 | 182 | 2/14/2024 |
3.0.4 | 203 | 2/12/2024 |
3.0.2 | 302 | 11/21/2023 |
2.0.19 | 402 | 9/4/2023 |
2.0.18 | 529 | 6/29/2023 |
2.0.17 | 516 | 6/14/2023 |
2.0.16 | 507 | 4/10/2023 |
2.0.15 | 546 | 3/27/2023 |
2.0.13 | 541 | 3/15/2023 |
2.0.12 | 591 | 3/1/2023 |
2.0.10 | 664 | 1/11/2023 |
2.0.9 | 637 | 1/9/2023 |
2.0.3 | 684 | 11/30/2022 |
1.0.42 | 723 | 10/31/2022 |