Pure.RelationalSchema.RichRelationalModel.Abstractions
0.1.0-preview.0.2.0
dotnet add package Pure.RelationalSchema.RichRelationalModel.Abstractions --version 0.1.0-preview.0.2.0
NuGet\Install-Package Pure.RelationalSchema.RichRelationalModel.Abstractions -Version 0.1.0-preview.0.2.0
<PackageReference Include="Pure.RelationalSchema.RichRelationalModel.Abstractions" Version="0.1.0-preview.0.2.0" />
<PackageVersion Include="Pure.RelationalSchema.RichRelationalModel.Abstractions" Version="0.1.0-preview.0.2.0" />
<PackageReference Include="Pure.RelationalSchema.RichRelationalModel.Abstractions" />
paket add Pure.RelationalSchema.RichRelationalModel.Abstractions --version 0.1.0-preview.0.2.0
#r "nuget: Pure.RelationalSchema.RichRelationalModel.Abstractions, 0.1.0-preview.0.2.0"
#:package Pure.RelationalSchema.RichRelationalModel.Abstractions@0.1.0-preview.0.2.0
#addin nuget:?package=Pure.RelationalSchema.RichRelationalModel.Abstractions&version=0.1.0-preview.0.2.0&prerelease
#tool nuget:?package=Pure.RelationalSchema.RichRelationalModel.Abstractions&version=0.1.0-preview.0.2.0&prerelease
Pure.RelationalSchema.RichRelationalModel.Abstractions
Unified schema + relational-model interfaces for the Pure ecosystem — each interface merges a structural schema definition with its relational model counterpart into a single composable contract.
Overview
Pure.RelationalSchema.RichRelationalModel.Abstractions provides a thin layer of composite interfaces that simultaneously satisfy the structural schema contracts from Pure.RelationalSchema.Abstractions and the relational model contracts from Pure.RelationalSchema.RelationalModel.Abstractions. A type implementing ITableRichRelationalModel, for example, is usable wherever either ITable or ITableRelationalModel is expected — no adapter needed.
Interfaces
| Interface | Extends | Description |
|---|---|---|
ISchemaRichRelationalModel |
ISchema, ISchemaRelationalModel |
A database schema that satisfies both the structural schema and relational model contracts |
ITableRichRelationalModel |
ITable, ITableRelationalModel |
A table within a schema, carrying both structural and relational model identity |
IColumnRichRelationalModel |
IColumn, IColumnRelationalModel |
A column satisfying both structural and relational model contracts |
IColumnTypeRichRelationalModel |
IColumnType, IColumnTypeRelationalModel |
A column type (e.g. integer, varchar) satisfying both contract families |
IIndexRichRelationalModel |
IIndex, IIndexRelationalModel |
An index satisfying both structural and relational model contracts |
IForeignKeyRichRelationalModel |
IForeignKey, IForeignKeyRelationalModel |
A foreign key constraint satisfying both contract families |
All interfaces are in the Pure.RelationalSchema.RichRelationalModel.Abstractions namespace.
Design Principles
- Composable — each interface is a single-line composition; no new members are added on top of the two parent contracts.
- Immutable — inherited from both contract families; all properties are read-only.
- AOT-compatible — the library is fully compatible with Native AOT compilation.
Dependencies
Pure.RelationalSchema.Abstractions— structural schema interfaces (ISchema,ITable,IColumn,IColumnType,IIndex,IForeignKey)Pure.RelationalSchema.RelationalModel.Abstractions— relational model interfaces that add identity and relational metadata to schema entities (ISchemaRelationalModel,ITableRelationalModel, etc.)
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
- .NET 11
Installation
dotnet add package Pure.RelationalSchema.RichRelationalModel.Abstractions
Usage
Implement the rich interfaces to get types that are accepted by both schema-layer and relational-model-layer APIs without casting or adapters:
using Pure.RelationalSchema.RichRelationalModel.Abstractions;
using Pure.Primitives.Abstractions.Guid;
using Pure.Primitives.Abstractions.String;
public sealed class Schema : ISchemaRichRelationalModel
{
public Schema(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.RelationalSchema.Abstractions (>= 1.3.0)
- Pure.RelationalSchema.RelationalModel.Abstractions (>= 0.1.0-preview.1.1.0)
-
net11.0
- Pure.RelationalSchema.Abstractions (>= 1.3.0)
- Pure.RelationalSchema.RelationalModel.Abstractions (>= 0.1.0-preview.1.1.0)
-
net7.0
- Pure.RelationalSchema.Abstractions (>= 1.3.0)
- Pure.RelationalSchema.RelationalModel.Abstractions (>= 0.1.0-preview.1.1.0)
-
net8.0
- Pure.RelationalSchema.Abstractions (>= 1.3.0)
- Pure.RelationalSchema.RelationalModel.Abstractions (>= 0.1.0-preview.1.1.0)
-
net9.0
- Pure.RelationalSchema.Abstractions (>= 1.3.0)
- Pure.RelationalSchema.RelationalModel.Abstractions (>= 0.1.0-preview.1.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pure.RelationalSchema.RichRelationalModel.Abstractions:
| Package | Downloads |
|---|---|
|
Pure.RelationalSchema.RichRelationalModel.EFCore.Models
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.0.2.0 | 111 | 11/11/2026 |
| 0.1.0-preview.0.1.0 | 2,405 | 4/30/2026 |