MTS.Data.Dapper
1.0.59
dotnet add package MTS.Data.Dapper --version 1.0.59
NuGet\Install-Package MTS.Data.Dapper -Version 1.0.59
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MTS.Data.Dapper" Version="1.0.59" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MTS.Data.Dapper" Version="1.0.59" />
<PackageReference Include="MTS.Data.Dapper" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MTS.Data.Dapper --version 1.0.59
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MTS.Data.Dapper, 1.0.59"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MTS.Data.Dapper@1.0.59
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MTS.Data.Dapper&version=1.0.59
#tool nuget:?package=MTS.Data.Dapper&version=1.0.59
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MTS.Data.Dapper
Lightweight Dapper helper package used by MTS projects to handle common Dapper-related tasks, dependency registration, and logging support.
Features
- Helper methods for creating IDbConnection instances
- Extension methods to register Dapper services with Microsoft.Extensions.DependencyInjection
- Optional logging via Microsoft.Extensions.Logging
Installation
Install the package from the NuGet feed:
dotnet add package MTS.Data.Dapper
Or add the package reference in your .csproj:
<PackageReference Include="MTS.Data.Dapper" Version="x.y.z" />
Usage
Register services in Startup / Program:
services.AddDapperServices(); // registers default Dapper helpers
Create connections via the provided helpers (example):
class DemoClass(IDapperCUD cud, IDapperQuery query){
public Task<int> DoSomething(object parameters){
return cud.Execute("my_sp", parameters);
}
public Task<IEnumerable<Data>> GetData(object parameters){
return query.QueryAsync<Data>("my_query", parameters);
}
}
Contributing
Contributions welcome via pull requests.
License
MIT
| 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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Dapper (>= 2.1.72)
- Microsoft.Data.SqlClient (>= 7.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
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 |
|---|---|---|
| 1.0.59 | 98 | 6/2/2026 |
| 1.0.57 | 104 | 5/22/2026 |
| 1.0.56 | 100 | 5/6/2026 |
| 1.0.55 | 87 | 5/6/2026 |
| 1.0.50 | 901 | 1/15/2024 |
| 1.0.49 | 176 | 1/12/2024 |
| 1.0.48 | 189 | 1/4/2024 |
| 1.0.47 | 177 | 1/4/2024 |
| 1.0.46 | 286 | 10/18/2023 |
| 1.0.45 | 204 | 10/17/2023 |
| 1.0.44 | 264 | 7/26/2023 |
| 1.0.43 | 291 | 6/29/2023 |
| 1.0.42 | 281 | 6/28/2023 |
| 1.0.41 | 314 | 5/24/2023 |
| 1.0.40 | 296 | 5/24/2023 |
| 1.0.39 | 296 | 5/24/2023 |
| 1.0.36 | 317 | 4/26/2023 |
| 1.0.33 | 320 | 4/26/2023 |
| 1.0.31 | 287 | 4/26/2023 |
| 1.0.27 | 703 | 8/1/2022 |
Loading failed