MSSQL.Command.Handler
1.4.2
See the version list below for details.
dotnet add package MSSQL.Command.Handler --version 1.4.2
NuGet\Install-Package MSSQL.Command.Handler -Version 1.4.2
<PackageReference Include="MSSQL.Command.Handler" Version="1.4.2" />
<PackageVersion Include="MSSQL.Command.Handler" Version="1.4.2" />
<PackageReference Include="MSSQL.Command.Handler" />
paket add MSSQL.Command.Handler --version 1.4.2
#r "nuget: MSSQL.Command.Handler, 1.4.2"
#:package MSSQL.Command.Handler@1.4.2
#addin nuget:?package=MSSQL.Command.Handler&version=1.4.2
#tool nuget:?package=MSSQL.Command.Handler&version=1.4.2
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 | 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 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. |
-
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.