DatabaseLibraryMDS.Net
1.0.0
dotnet add package DatabaseLibraryMDS.Net --version 1.0.0
NuGet\Install-Package DatabaseLibraryMDS.Net -Version 1.0.0
<PackageReference Include="DatabaseLibraryMDS.Net" Version="1.0.0" />
<PackageVersion Include="DatabaseLibraryMDS.Net" Version="1.0.0" />
<PackageReference Include="DatabaseLibraryMDS.Net" />
paket add DatabaseLibraryMDS.Net --version 1.0.0
#r "nuget: DatabaseLibraryMDS.Net, 1.0.0"
#:package DatabaseLibraryMDS.Net@1.0.0
#addin nuget:?package=DatabaseLibraryMDS.Net&version=1.0.0
#tool nuget:?package=DatabaseLibraryMDS.Net&version=1.0.0
DatabaseLibraryMDS.Net
DatabaseLibraryMDS.Net is a dependency-injection-ready SQL Server data-access library for .NET. It supports synchronous and asynchronous command execution, parameter and result-object mapping, scalar and tabular results, caller-controlled transactions, batch transaction execution, and SQL Server bulk insert.
Version 1.0 is the first stable release of the modern DatabaseLibraryMDS.Net package. It is distributed separately from the legacy DatabaseLibraryMDS package so applications can migrate deliberately without disrupting existing consumers.
Registration
For concurrent or server workloads, register the immutable singleton factory and create one disposable operation for each independent database operation:
services.AddDatabaseLibraryMdsSqlServerFactory(connectionString);
// In a repository method:
using ISqlServerOperation sql = sqlServerFactory.Create();
sql.ExecuteNonQuery("dbo.SomeProcedure", parameters);
Configure the factory with CommandType.StoredProcedure when procedure names are the application's normal command form, or pass a command type explicitly on individual calls. Reuse one created operation for every command in a caller-controlled transaction. Traditional direct construction and sequential ISqlServer usage remain supported, but one stateful instance must not serve overlapping independent operations. ADO.NET connection pooling provides physical connection reuse.
Use DatabaseLibraryMDS.Net and DatabaseLibraryMDS.Net.Interfaces namespaces. Resolve connection strings through the consuming application's secure configuration system; do not embed credentials in source code.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. 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 is compatible. 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. |
-
net10.0
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
-
net8.0
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
-
net9.0
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DatabaseLibraryMDS.Net:
| Package | Downloads |
|---|---|
|
BlazorChat.Server.SqlServer
SQL Server persistence provider for BlazorChat.Server. Production-ready database storage implementation. Auto-installs BlazorChat.Server dependency. Requires SQL Server 2016+ or Azure SQL Database. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 83 | 8/12/2026 |
First stable release. Includes dependency-injection registration and per-operation factory isolation; synchronous and asynchronous command execution; automatic object-to-parameter and result mapping; scalar, typed, DataTable, and DataSet results; caller-controlled and batch transactions; insert, update, delete, and bulk-insert operations; standard .NET logging; cancellation support; multi-targeting for .NET 8, .NET 9, and .NET 10; and compatibility aliases for migration from DatabaseLibraryMDS.