Pure.RelationalSchema.RichRelationalModel.Abstractions 0.1.0-preview.0.2.0

This is a prerelease version of Pure.RelationalSchema.RichRelationalModel.Abstractions.
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
                    
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="Pure.RelationalSchema.RichRelationalModel.Abstractions" Version="0.1.0-preview.0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pure.RelationalSchema.RichRelationalModel.Abstractions" Version="0.1.0-preview.0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Pure.RelationalSchema.RichRelationalModel.Abstractions" />
                    
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 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"
                    
#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 Pure.RelationalSchema.RichRelationalModel.Abstractions@0.1.0-preview.0.2.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=Pure.RelationalSchema.RichRelationalModel.Abstractions&version=0.1.0-preview.0.2.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Pure.RelationalSchema.RichRelationalModel.Abstractions&version=0.1.0-preview.0.2.0&prerelease
                    
Install as a Cake Tool

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.

.NET build & test Build and Deploy NuGet License: MIT

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

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 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. 
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 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