DatabaseLibraryMDS.Net 1.0.0

dotnet add package DatabaseLibraryMDS.Net --version 1.0.0
                    
NuGet\Install-Package DatabaseLibraryMDS.Net -Version 1.0.0
                    
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="DatabaseLibraryMDS.Net" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DatabaseLibraryMDS.Net" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="DatabaseLibraryMDS.Net" />
                    
Project file
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 DatabaseLibraryMDS.Net --version 1.0.0
                    
#r "nuget: DatabaseLibraryMDS.Net, 1.0.0"
                    
#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 DatabaseLibraryMDS.Net@1.0.0
                    
#: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=DatabaseLibraryMDS.Net&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=DatabaseLibraryMDS.Net&version=1.0.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.