Trestel.SqlQueryAnalyzer
0.1.0
dotnet add package Trestel.SqlQueryAnalyzer --version 0.1.0
NuGet\Install-Package Trestel.SqlQueryAnalyzer -Version 0.1.0
<PackageReference Include="Trestel.SqlQueryAnalyzer" Version="0.1.0" />
paket add Trestel.SqlQueryAnalyzer --version 0.1.0
#r "nuget: Trestel.SqlQueryAnalyzer, 0.1.0"
// Install Trestel.SqlQueryAnalyzer as a Cake Addin #addin nuget:?package=Trestel.SqlQueryAnalyzer&version=0.1.0 // Install Trestel.SqlQueryAnalyzer as a Cake Tool #tool nuget:?package=Trestel.SqlQueryAnalyzer&version=0.1.0
This package contains simple utility library for wrapping raw SQL queries and C# code analyzer for correctness analysis.
Currently supports following features:
- Syntax analysis and object usage of SQL queries
- Analysis of provided/expected parameters (currently implemented only for Dapper functions)
- Analysis of expected/provided result set
Analyzer works only with Microsoft SQL Server 2012 or newer and Azure SQL Database. Check project site wiki for explanation of this limitation.
Check project site for usage examples and documentation.
This package is still in development and new features will be added. If you find any issue or have a suggestion, please report them on the project site.
Learn more about Target Frameworks and .NET Standard.
This package has 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 |
---|---|---|
0.1.0 | 1,291 | 2/1/2017 |
Initial release with following functionality:
- Syntax and semantic check for raw queries on SQL Server 2012 or newer and SQL Azure Database
- Parameters mapping check for Dapper functions
- Result set mapping check
For Dapper, following functionalities are missing:
- support for mutli mapping
- support for parameters which are lists