Xledger.Sql
1.0.0-rc0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
This is a prerelease version of Xledger.Sql.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Xledger.Sql --version 1.0.0-rc0
NuGet\Install-Package Xledger.Sql -Version 1.0.0-rc0
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="Xledger.Sql" Version="1.0.0-rc0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xledger.Sql --version 1.0.0-rc0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xledger.Sql, 1.0.0-rc0"
#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 Xledger.Sql as a Cake Addin #addin nuget:?package=Xledger.Sql&version=1.0.0-rc0&prerelease // Install Xledger.Sql as a Cake Tool #tool nuget:?package=Xledger.Sql&version=1.0.0-rc0&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Xledger.Sql
Xledger.Sql provides tools for analyzing and transforming Transact SQL queries. This is provide in 3 main pieces:
Xledger.Sql.ScopedFragmentTransformer
: aTSqlFragment
visitor that tracks the scope of visits to ease context-aware rewrites.Xledger.Sql.Extensions
: providing aReplaceScalar
extension method to replace one scalar in its parent with a new scalar - without having to know exactly where in the parent the old scalar was present.Xledger.Sql.ImmutableDom
: an immutable version ofMicrosoft.SqlServer.TransactSql.ScriptDom
to enable caching parts of a SQL DOM or structural comparison of them.
The tests in Xledger.Sql.Test demonstrate how to use this library.
Testing Locally
To generate a new NuGet package to verify that the package is sane.
- Increment the
<VersionSuffix>
in Xledger.Sql/Xledger.Sql.csproj; or<VersionPrefix>
if releasing a new major, minor, or patch version. - Run. For Release:
cls; dotnet clean; dotnet pack -c Release;
nuget init Xledger.Sql\bin\Release c:\packages;
For Debug:
cls; dotnet clean; dotnet pack;
nuget init Xledger.Sql\bin\Debug c:\packages;
- Update the project that depends on Xledger.Sql.
dotnet add package Xledger.Sql --source c:\packages --prerelease
Running the Tests
dotnet test Xledger.Sql.Test
To list the available tests:
dotnet test Xledger.Sql.Test --list-tests
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.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
- Microsoft.SqlServer.DacFx (>= 161.6374.0)
-
net6.0
- Microsoft.SqlServer.DacFx (>= 161.6374.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.