Pure.RelationalSchema.Self.Storage.Introjection
0.1.0-preview.2.0.0
dotnet add package Pure.RelationalSchema.Self.Storage.Introjection --version 0.1.0-preview.2.0.0
NuGet\Install-Package Pure.RelationalSchema.Self.Storage.Introjection -Version 0.1.0-preview.2.0.0
<PackageReference Include="Pure.RelationalSchema.Self.Storage.Introjection" Version="0.1.0-preview.2.0.0" />
<PackageVersion Include="Pure.RelationalSchema.Self.Storage.Introjection" Version="0.1.0-preview.2.0.0" />
<PackageReference Include="Pure.RelationalSchema.Self.Storage.Introjection" />
paket add Pure.RelationalSchema.Self.Storage.Introjection --version 0.1.0-preview.2.0.0
#r "nuget: Pure.RelationalSchema.Self.Storage.Introjection, 0.1.0-preview.2.0.0"
#:package Pure.RelationalSchema.Self.Storage.Introjection@0.1.0-preview.2.0.0
#addin nuget:?package=Pure.RelationalSchema.Self.Storage.Introjection&version=0.1.0-preview.2.0.0&prerelease
#tool nuget:?package=Pure.RelationalSchema.Self.Storage.Introjection&version=0.1.0-preview.2.0.0&prerelease
Pure.RelationalSchema.Self.Storage.Introjection
Converts relational schema storage rows into a LINQ-queryable IQueryable<ISchema> object graph — schema introspection over IStoredSchemaDataSet.
Overview
Pure.RelationalSchema.Self.Storage.Introjection reads raw rows from an IStoredSchemaDataSet and projects them into the Pure.RelationalSchema domain model — schemas, tables, columns, column types, indexes, and foreign keys — all exposed as a navigable IQueryable<ISchema>.
The single public entry point is SchemasIntrojection. It wraps a dataset and lazily builds the full schema object graph as the sequence is enumerated.
Public API
| Type | Kind | Description |
|---|---|---|
SchemasIntrojection |
sealed record |
IQueryable<ISchema> over an IStoredSchemaDataSet |
SchemasIntrojection implements IQueryable<ISchema> and proxies ElementType, Expression, and Provider from the underlying LINQ query. Enumeration materialises each ISchema with its complete object graph: tables → columns → types, tables → indexes, and schema → foreign keys.
Dependencies
Pure.RelationalSchema.Self.Schema— self-describing table and column definitions that describe how relational schema metadata is storedPure.Primitives.Switches— type-safe switch primitives used forIBool/IStringvalue conversionsPure.RelationalSchema.Storage.HashCodes— hash code utilities for storage row equality and lookup
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
- .NET 11
Installation
dotnet add package Pure.RelationalSchema.Self.Storage.Introjection
Usage
// Obtain a dataset from Pure.RelationalSchema.Storage.PostgreSQL or similar
IStoredSchemaDataSet schemaDataSet = ...;
IQueryable<ISchema> schemas = new SchemasIntrojection(schemaDataSet);
foreach (ISchema schema in schemas)
{
Console.WriteLine(schema.Name.TextValue);
foreach (ITable table in schema.Tables)
Console.WriteLine($" {table.Name.TextValue}");
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. net11.0 is compatible. |
-
net10.0
- Pure.Primitives.Switches (>= 2.0.0)
- Pure.RelationalSchema.Self.Schema (>= 0.1.0-preview.6.2.0)
- Pure.RelationalSchema.Storage.HashCodes (>= 0.1.0-preview.2.3.0)
-
net11.0
- Pure.Primitives.Switches (>= 2.0.0)
- Pure.RelationalSchema.Self.Schema (>= 0.1.0-preview.6.2.0)
- Pure.RelationalSchema.Storage.HashCodes (>= 0.1.0-preview.2.3.0)
-
net7.0
- Pure.Primitives.Switches (>= 2.0.0)
- Pure.RelationalSchema.Self.Schema (>= 0.1.0-preview.6.2.0)
- Pure.RelationalSchema.Storage.HashCodes (>= 0.1.0-preview.2.3.0)
-
net8.0
- Pure.Primitives.Switches (>= 2.0.0)
- Pure.RelationalSchema.Self.Schema (>= 0.1.0-preview.6.2.0)
- Pure.RelationalSchema.Storage.HashCodes (>= 0.1.0-preview.2.3.0)
-
net9.0
- Pure.Primitives.Switches (>= 2.0.0)
- Pure.RelationalSchema.Self.Schema (>= 0.1.0-preview.6.2.0)
- Pure.RelationalSchema.Storage.HashCodes (>= 0.1.0-preview.2.3.0)
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-preview.2.0.0 | 80 | 11/11/2026 |
| 0.1.0-preview.1.2.0 | 242 | 10/23/2026 |
| 0.1.0-preview.1.1.1 | 549 | 8/4/2026 |
| 0.1.0-preview.1.1.0 | 548 | 6/7/2026 |
| 0.1.0-preview.1.0.0 | 700 | 3/16/2026 |
| 0.1.0-preview.0.1.0 | 596 | 11/4/2025 |