UkrGuru.Sql
1.0.1
dotnet add package UkrGuru.Sql --version 1.0.1
NuGet\Install-Package UkrGuru.Sql -Version 1.0.1
<PackageReference Include="UkrGuru.Sql" Version="1.0.1" />
paket add UkrGuru.Sql --version 1.0.1
#r "nuget: UkrGuru.Sql, 1.0.1"
// Install UkrGuru.Sql as a Cake Addin #addin nuget:?package=UkrGuru.Sql&version=1.0.1 // Install UkrGuru.Sql as a Cake Tool #tool nuget:?package=UkrGuru.Sql&version=1.0.1
UkrGuru.Sql
UkrGuru.Sql is a powerful library designed to simplify interactions between .NET applications and SQL Server databases. It automatically normalizes input parameters and deserializes results, supporting dynamic queries, stored procedures, and asynchronous operations. With UkrGuru.Sql, you can access SQL Server data with minimal code and maximum performance.
Features
- Easy Integration: Seamlessly integrate with ASP.NET Core projects.
- Dynamic Queries: Support for dynamic SQL queries and stored procedures.
- Asynchronous Operations: Built-in support for async operations.
- Parameter Normalization: Automatic normalization of input parameters.
- Result Deserialization: Effortless deserialization of query results.
Installation
To use the UkrGuru.Sql library in your ASP.NET Core project, follow these steps:
Install the UkrGuru.Sql package from NuGet:
dotnet add package UkrGuru.Sql
Update your
appsettings.json
file to include the connection string:{ "ConnectionStrings": { "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=YourDbName;Trusted_Connection=True;" } }
Register the UkrGuru.Sql services in your
Program.cs
file:using UkrGuru.Sql; var builder = WebApplication.CreateBuilder(args); builder.Services.AddScoped<IDbService, DbService>(); DbHelper.ConnectionString = builder.Configuration.GetConnectionString("DefaultConnection"); var app = builder.Build();
Samples
You can find more examples in the demos
folder of this repository.
Contributing
Contributions are welcome! Please fork this repository and submit pull requests.
License
This project is licensed under the MIT License. See the LICENSE file for details.
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. |
-
net8.0
- Microsoft.Data.SqlClient (>= 6.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.1)
-
net9.0
- Microsoft.Data.SqlClient (>= 6.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.1)
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.1 | 33 | 1/25/2025 |