Pure.RelationalSchema.RelationalModel.Abstractions
0.1.0-preview.1.1.0
dotnet add package Pure.RelationalSchema.RelationalModel.Abstractions --version 0.1.0-preview.1.1.0
NuGet\Install-Package Pure.RelationalSchema.RelationalModel.Abstractions -Version 0.1.0-preview.1.1.0
<PackageReference Include="Pure.RelationalSchema.RelationalModel.Abstractions" Version="0.1.0-preview.1.1.0" />
<PackageVersion Include="Pure.RelationalSchema.RelationalModel.Abstractions" Version="0.1.0-preview.1.1.0" />
<PackageReference Include="Pure.RelationalSchema.RelationalModel.Abstractions" />
paket add Pure.RelationalSchema.RelationalModel.Abstractions --version 0.1.0-preview.1.1.0
#r "nuget: Pure.RelationalSchema.RelationalModel.Abstractions, 0.1.0-preview.1.1.0"
#:package Pure.RelationalSchema.RelationalModel.Abstractions@0.1.0-preview.1.1.0
#addin nuget:?package=Pure.RelationalSchema.RelationalModel.Abstractions&version=0.1.0-preview.1.1.0&prerelease
#tool nuget:?package=Pure.RelationalSchema.RelationalModel.Abstractions&version=0.1.0-preview.1.1.0&prerelease
Pure.RelationalSchema.RelationalModel.Abstractions
Relational model interfaces for representing database schema structures in the Pure ecosystem — immutable, composable abstractions over schemas, tables, columns, indexes, and foreign keys.
Overview
Pure.RelationalSchema.RelationalModel.Abstractions defines read-only interfaces that describe the structural elements of a relational database schema. Each interface models one entity — schema, table, column, column type, index, or foreign key — using typed primitives from Pure.Primitives.Abstractions. All identities are expressed as IGuid, names as IString, and flags as IBool.
Interfaces
| Interface | Namespace | Description |
|---|---|---|
ISchemaRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
A database schema identified by a GUID and named with an IString |
ITableRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
A table within a schema; references its parent schema via SchemaId |
IColumnRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
A column in a table; carries a reference to its column type via TypeId |
IColumnTypeRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
A named column type (e.g. integer, varchar) identified by a GUID |
IIndexRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
An index on a table; exposes IsUnique as IBool |
IForeignKeyRelationalModel |
Pure.RelationalSchema.RelationalModel.Abstractions |
A foreign key constraint linking two tables within a schema |
Design Principles
- Immutable — all interfaces expose only
getproperties; no setters, no mutating methods. - Composable — entities reference each other via
IGuididentifiers rather than direct object graphs, keeping interfaces flat and dependency-free. - AOT-compatible — the library is fully compatible with Native AOT compilation.
Dependencies
Pure.Primitives.Abstractions— base interfaces for immutable, composable abstractions over .NET primitive types (IBool,IString,IGuid,INumber<T>, etc.)
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
- .NET 11
Installation
dotnet add package Pure.RelationalSchema.RelationalModel.Abstractions
Usage
Implement the interfaces to model your relational schema entities:
using Pure.RelationalSchema.RelationalModel.Abstractions;
using Pure.Primitives.Abstractions.Guid;
using Pure.Primitives.Abstractions.String;
public sealed class SchemaRelationalModel : ISchemaRelationalModel
{
public SchemaRelationalModel(IGuid id, IString name)
{
Id = id;
Name = name;
}
public IGuid Id { get; }
public IString Name { get; }
}
| 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.Abstractions (>= 4.4.0)
-
net11.0
- Pure.Primitives.Abstractions (>= 4.4.0)
-
net7.0
- Pure.Primitives.Abstractions (>= 4.4.0)
-
net8.0
- Pure.Primitives.Abstractions (>= 4.4.0)
-
net9.0
- Pure.Primitives.Abstractions (>= 4.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pure.RelationalSchema.RelationalModel.Abstractions:
| Package | Downloads |
|---|---|
|
Pure.RelationalSchema.RichRelationalModel.Abstractions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.1.1.0 | 122 | 11/11/2026 |
| 0.1.0-preview.1.0.0 | 2,560 | 4/30/2026 |
| 0.1.0-preview.0.1.0 | 73 | 4/30/2026 |