TestPrune.Sql 0.1.0

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

TestPrune.Sql

Add explicit database shared-state dependencies to a TestPrune symbol graph. When one symbol writes a table or column and another reads it, the extension adds a SharedState edge so a writer change selects tests that reach the reader.

dotnet add package TestPrune.Sql

Attribute discovery

Annotate module functions or values, then register AutoSqlExtension with the host that invokes ITestPruneExtension after indexing:

open TestPrune.Sql
open TestPrune.Extensions

[<WritesTo("public.articles", "status")>]
let markComplete connection articleId =
    // ...

[<ReadsFrom("public.articles", "status")>]
let listComplete connection =
    // ...

let extension: ITestPruneExtension =
    AutoSqlExtension() :> ITestPruneExtension

The one-argument attribute form uses the wildcard column *. A wildcard matches every column on the same table. Use schema-qualified table identities such as public.articles when facts must interoperate with TestPrune.SqlHydra; equal table names in different schemas otherwise cannot be distinguished.

For facts obtained outside source attributes, construct SqlFact values and register SqlExtension(facts) instead. Registration is explicit: merely referencing this package does not run either extension. The host persists the edges returned by AnalyzeEdges alongside the core graph.

See the repository's integration guide for extension-host wiring and edge direction.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TestPrune.Sql:

Package Downloads
TestPrune.SqlHydra

SqlHydra integration for TestPrune — automatic SQL coupling detection from typed queries

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 109 8/28/2026