UkrGuru.Sql 1.0.1

dotnet add package UkrGuru.Sql --version 1.0.1                
NuGet\Install-Package UkrGuru.Sql -Version 1.0.1                
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="UkrGuru.Sql" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UkrGuru.Sql --version 1.0.1                
#r "nuget: UkrGuru.Sql, 1.0.1"                
#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.
// 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

Nuget Donate

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:

  1. Install the UkrGuru.Sql package from NuGet:

    dotnet add package UkrGuru.Sql
    
  2. Update your appsettings.json file to include the connection string:

    {
      "ConnectionStrings": {
        "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=YourDbName;Trusted_Connection=True;"
      }
    }
    
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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