MSSQL.Command.Handler 1.4.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package MSSQL.Command.Handler --version 1.4.3
                    
NuGet\Install-Package MSSQL.Command.Handler -Version 1.4.3
                    
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="MSSQL.Command.Handler" Version="1.4.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MSSQL.Command.Handler" Version="1.4.3" />
                    
Directory.Packages.props
<PackageReference Include="MSSQL.Command.Handler" />
                    
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 MSSQL.Command.Handler --version 1.4.3
                    
#r "nuget: MSSQL.Command.Handler, 1.4.3"
                    
#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 MSSQL.Command.Handler@1.4.3
                    
#: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=MSSQL.Command.Handler&version=1.4.3
                    
Install as a Cake Addin
#tool nuget:?package=MSSQL.Command.Handler&version=1.4.3
                    
Install as a Cake Tool

MSSQL.Command.Handler

The MSSQL.Command.Handler is a robust and efficient library designed to simplify the execution and management of SQL commands in Microsoft SQL Server environments. This package provides a comprehensive set of tools and utilities to handle SQL commands, making it easier for developers to interact with their databases.

Key Features:

  • Command Execution: Easily execute SQL commands and stored procedures with minimal boilerplate code.
  • Parameter Handling: Simplify the process of adding and managing parameters for your SQL commands.
  • Error Management: Built-in error handling mechanisms to manage exceptions and ensure smooth database operations.
  • Asynchronous Support: Full support for asynchronous operations, allowing for non-blocking database interactions.
  • Connection Management: Efficiently manage database connections with built-in connection pooling and lifecycle management.
  • Result Processing: Convenient methods for processing query results and converting them into usable data structures.

Installation:

To install MSSQL.Command.Handler, simply add the package to your project using the NuGet Package Manager or the .NET CLI:

dotnet add package MSSQL.Command.Handler

Usage:

Here is a basic example of how to use MSSQL.Command.Handler in your project:

using MSSQL.Command.Handler;

var commandHandler = new SqlCommandHandler("YourConnectionString");

var parameters = new Dictionary<string, object>
{
    { "@Param1", "Value1" },
    { "@Param2", 123 }
};

var result = await commandHandler.ExecuteQueryAsync("SELECT * FROM YourTable WHERE Column1 = @Param1 AND Column2 = @Param2", parameters);

foreach (var row in result)
{
    Console.WriteLine(row["ColumnName"]);
}
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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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.4.6 197 6/17/2025
1.4.5 175 6/15/2025
1.4.3 264 6/13/2025
1.4.2 264 6/13/2025