TinyHelpers.Dapper
3.2.7
dotnet add package TinyHelpers.Dapper --version 3.2.7
NuGet\Install-Package TinyHelpers.Dapper -Version 3.2.7
<PackageReference Include="TinyHelpers.Dapper" Version="3.2.7" />
paket add TinyHelpers.Dapper --version 3.2.7
#r "nuget: TinyHelpers.Dapper, 3.2.7"
// Install TinyHelpers.Dapper as a Cake Addin #addin nuget:?package=TinyHelpers.Dapper&version=3.2.7 // Install TinyHelpers.Dapper as a Cake Tool #tool nuget:?package=TinyHelpers.Dapper&version=3.2.7
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 properties.
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.
Warning Remember to work on the develop branch, don't use the master branch directly. Create Pull Requests targeting develop.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 is compatible. 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. net9.0 is compatible. |
.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.1.35)
- TinyHelpers (>= 3.2.3)
-
net8.0
- Dapper (>= 2.1.35)
- TinyHelpers (>= 3.2.3)
-
net9.0
- Dapper (>= 2.1.35)
- TinyHelpers (>= 3.2.3)
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.2.7 | 85 | 12/11/2024 |
3.2.2 | 76 | 12/2/2024 |
3.0.16 | 101 | 10/9/2024 |
3.0.14 | 116 | 9/2/2024 |
3.0.13 | 94 | 7/10/2024 |
3.0.11 | 116 | 6/19/2024 |
3.0.9 | 101 | 5/9/2024 |
3.0.7 | 148 | 3/26/2024 |
3.0.6 | 144 | 2/27/2024 |
3.0.5 | 191 | 2/14/2024 |
3.0.4 | 212 | 2/12/2024 |
3.0.2 | 311 | 11/21/2023 |
2.0.19 | 407 | 9/4/2023 |
2.0.18 | 536 | 6/29/2023 |
2.0.17 | 521 | 6/14/2023 |
2.0.16 | 512 | 4/10/2023 |
2.0.15 | 551 | 3/27/2023 |
2.0.13 | 546 | 3/15/2023 |
2.0.12 | 598 | 3/1/2023 |
2.0.10 | 669 | 1/11/2023 |
2.0.9 | 642 | 1/9/2023 |
2.0.3 | 691 | 11/30/2022 |
1.0.42 | 730 | 10/31/2022 |