Skip to main content
ConstantSQL package icon

ConstantSQL

A Roslyn source generator that reads SQL files at compile time and generates a C# class with const values for each SQL file content.

Total Downloads
1.9K
1,861
Published
Jul 23, 2025
Latest stable version

Install

.NET CLI
dotnet add package ConstantSQL --version 0.1.2
Package Manager Console
Install-Package ConstantSQL -Version 0.1.2
PackageReference
<PackageReference Include="ConstantSQL" Version="0.1.2" />

Frameworks

.NETStandard2.0

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.