Pure.RelationalSchema.RelationalModel.Abstractions 0.1.0-preview.1.1.0

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

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.

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

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 get properties; no setters, no mutating methods.
  • Composable — entities reference each other via IGuid identifiers 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 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.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