TinyHelpers.Dapper
2.0.15
See the version list below for details.
dotnet add package TinyHelpers.Dapper --version 2.0.15
NuGet\Install-Package TinyHelpers.Dapper -Version 2.0.15
<PackageReference Include="TinyHelpers.Dapper" Version="2.0.15" />
paket add TinyHelpers.Dapper --version 2.0.15
#r "nuget: TinyHelpers.Dapper, 2.0.15"
// Install TinyHelpers.Dapper as a Cake Addin #addin nuget:?package=TinyHelpers.Dapper&version=2.0.15 // Install TinyHelpers.Dapper as a Cake Tool #tool nuget:?package=TinyHelpers.Dapper&version=2.0.15
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.
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 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 | 90 | 10/9/2024 |
3.0.14 | 109 | 9/2/2024 |
3.0.13 | 86 | 7/10/2024 |
3.0.11 | 112 | 6/19/2024 |
3.0.9 | 95 | 5/9/2024 |
3.0.7 | 145 | 3/26/2024 |
3.0.6 | 141 | 2/27/2024 |
3.0.5 | 185 | 2/14/2024 |
3.0.4 | 206 | 2/12/2024 |
3.0.2 | 308 | 11/21/2023 |
2.0.19 | 405 | 9/4/2023 |
2.0.18 | 532 | 6/29/2023 |
2.0.17 | 519 | 6/14/2023 |
2.0.16 | 510 | 4/10/2023 |
2.0.15 | 549 | 3/27/2023 |
2.0.13 | 544 | 3/15/2023 |
2.0.12 | 596 | 3/1/2023 |
2.0.10 | 667 | 1/11/2023 |
2.0.9 | 640 | 1/9/2023 |
2.0.3 | 687 | 11/30/2022 |
1.0.42 | 726 | 10/31/2022 |