TiSun.SqlServerProcedure 1.1.3

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

TiSun.SqlServerProcedure

Version: v1.1.3 (Stable)
Target: .NET Framework 4.5+ / C# 7.3
Database: SQL Server 2008 R2+


1. Tổng quan

TiSun.SqlServerProcedure là thư viện chuẩn hóa việc gọi Stored Procedure / SQL Query trên SQL Server, xây dựng trên Dapper, hỗ trợ:

  • Procedure alias (mapping từ XML)
  • Metadata cache (sys.parameters)
  • DTO auto-bind (IN / OUT / INOUT)
  • Table-Valued Parameter (TVP)
  • PagedResult với OUTPUT auto-bind
  • MultiResult / QueryMultiple
  • SQL Guard + Interpolated SQL chống injection
  • TransactionScope (Async-safe)
  • Multi-provider (TiSunProvider)
  • Execute raw SQL query

2. Cấu trúc kiến trúc

TiSunProvider └─ TiSunDbFactory └─ DapperDbExecutor ├─ ProcedureMetadataCache ├─ ProcedureAliasCache └─ DbTransactionManager


3. Khởi tạo Provider + Alias XML

3.1 Cấu trúc XML

<Provider>
  <StoredProcedures ProviderName="UrencoProvider">
    <Procedure Name="SysMessage_Save" Value="usp_SysMessage_Save"/>
    <Procedure Name="SysMessage_Get"  Value="usp_SysMessage_Get"/>
  </StoredProcedures>
</Provider>

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

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.1.3 33 1/30/2026
1.1.1 86 1/23/2026
1.1.0 88 1/22/2026
1.0.7 81 1/21/2026
1.0.6 78 1/21/2026
1.0.4 79 1/21/2026
1.0.3 79 1/21/2026