SqlAnalyzer.Net.Improved 1.3.1

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

SQL Analyzer Improved

An improved version of SqlAnalyzer.Net that adds:

  • Support for Dapper's CommandDefinition
  • Support for interpolated strings
  • Fixes to the SQL parsing logic

Analyzers

Rule\Library Dapper ADO.NET Entity Framework
SQL001: SQL type is not specified ✔️
SQL002: SQL parameters mismatch ✔️ ✔️
SQL003: Using 'Query' method is not optimal here ✔️
SQL004: Using 'QueryMultiple' method is not optimal here ✔️
SQL005: Using 'SaveChanges' method in a loop can affect performance ✔️
There are no supported framework assets in this 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.3.1 115 5/28/2026