Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations
0.1.0-preview.0.2.0
See the version list below for details.
dotnet add package Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations --version 0.1.0-preview.0.2.0
NuGet\Install-Package Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations -Version 0.1.0-preview.0.2.0
<PackageReference Include="Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations" Version="0.1.0-preview.0.2.0" />
<PackageVersion Include="Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations" Version="0.1.0-preview.0.2.0" />
<PackageReference Include="Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations" />
paket add Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations --version 0.1.0-preview.0.2.0
#r "nuget: Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations, 0.1.0-preview.0.2.0"
#:package Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations@0.1.0-preview.0.2.0
#addin nuget:?package=Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations&version=0.1.0-preview.0.2.0&prerelease
#tool nuget:?package=Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations&version=0.1.0-preview.0.2.0&prerelease
Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations
EF Core IEntityTypeConfiguration<T> implementations for the Pure rich relational schema model entities.
Overview
Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations provides a set of EF Core type configurations that wire up the relational schema model entities — schemas, tables, columns, column types, indexes, and foreign keys — with their column mappings, key constraints, max lengths, foreign key relationships, and Pure primitive converters/comparers.
Register all six configurations in your DbContext to persist the rich relational schema model via EF Core.
Configurations
| Type | Entity | Description |
|---|---|---|
SchemaConfiguration |
SchemaEFCoreModel |
GUID PK (never generated), Name (max 64), one-to-many Tables and ForeignKeys navigations |
TableConfiguration |
TableEFCoreModel |
GUID PK, Name (max 64), SchemaId FK, one-to-many Columns and Indexes navigations |
ColumnConfiguration |
ColumnEFCoreModel |
GUID PK, Name (max 64), TableId and TypeId FKs, many-to-one ColumnType navigation |
ColumnTypeConfiguration |
ColumnTypeEFCoreModel |
GUID PK, Name (max 64, unique index) |
IndexConfiguration |
IndexEFCoreModel |
GUID PK, IsUnique bool, TableId FK, many-to-many Columns navigation |
ForeignKeyConfiguration |
ForeignKeyEFCoreModel |
GUID PK, SchemaId/ReferencingTableId/ReferencedTableId FKs, many-to-many referencing and referenced column navigations |
All GUID and String properties use converters and value comparers from the Pure primitives ecosystem. IsUnique on IndexConfiguration uses BoolTypeConverter and BoolValueComparer.
Dependencies
Pure.RelationalSchema.RichRelationalModel.EFCore.Modelsv0.1.0-preview.0.1.0 — EF Core entity model classes for the rich relational schema (SchemaEFCoreModel, TableEFCoreModel, ColumnEFCoreModel, ColumnTypeEFCoreModel, IndexEFCoreModel, ForeignKeyEFCoreModel)Pure.Primitives.Abstractions.EFCore.Convertersv0.1.0-preview.0.1.0 — EF CoreValueConverterimplementations for Pure primitive types (Guid, String, Bool, and more)Pure.Primitives.Abstractions.EFCore.ValueComparersv0.1.0-preview.0.1.0 — EF CoreValueComparerimplementations for Pure primitive types
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
Installation
dotnet add package Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations
Usage
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfigurationsFromAssembly(
typeof(SchemaConfiguration).Assembly);
}
Or register each configuration individually:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfiguration(new SchemaConfiguration());
modelBuilder.ApplyConfiguration(new TableConfiguration());
modelBuilder.ApplyConfiguration(new ColumnConfiguration());
modelBuilder.ApplyConfiguration(new ColumnTypeConfiguration());
modelBuilder.ApplyConfiguration(new IndexConfiguration());
modelBuilder.ApplyConfiguration(new ForeignKeyConfiguration());
}
| 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. |
-
net10.0
- Pure.Primitives.Abstractions.EFCore.Converters (>= 0.1.0-preview.0.2.0)
- Pure.Primitives.Abstractions.EFCore.ValueComparers (>= 0.1.0-preview.0.1.1)
- Pure.RelationalSchema.RichRelationalModel.EFCore.Models (>= 0.1.0-preview.0.1.0)
-
net7.0
- Pure.Primitives.Abstractions.EFCore.Converters (>= 0.1.0-preview.0.2.0)
- Pure.Primitives.Abstractions.EFCore.ValueComparers (>= 0.1.0-preview.0.1.1)
- Pure.RelationalSchema.RichRelationalModel.EFCore.Models (>= 0.1.0-preview.0.1.0)
-
net8.0
- Pure.Primitives.Abstractions.EFCore.Converters (>= 0.1.0-preview.0.2.0)
- Pure.Primitives.Abstractions.EFCore.ValueComparers (>= 0.1.0-preview.0.1.1)
- Pure.RelationalSchema.RichRelationalModel.EFCore.Models (>= 0.1.0-preview.0.1.0)
-
net9.0
- Pure.Primitives.Abstractions.EFCore.Converters (>= 0.1.0-preview.0.2.0)
- Pure.Primitives.Abstractions.EFCore.ValueComparers (>= 0.1.0-preview.0.1.1)
- Pure.RelationalSchema.RichRelationalModel.EFCore.Models (>= 0.1.0-preview.0.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pure.RelationalSchema.RichRelationalModel.EFCore.Models.Configurations:
| Package | Downloads |
|---|---|
|
Pure.RelationalSchema.RichRelationalModel.EFCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.0.3.0 | 68 | 11/11/2026 |
| 0.1.0-preview.0.2.0 | 524 | 10/22/2026 |
| 0.1.0-preview.0.1.2 | 1,218 | 6/25/2026 |
| 0.1.0-preview.0.1.1 | 211 | 6/7/2026 |
| 0.1.0-preview.0.1.0 | 500 | 4/30/2026 |