Pure.Chart.RichRelationalModel.EFCore.Models
0.1.0-preview.9.0.0
dotnet add package Pure.Chart.RichRelationalModel.EFCore.Models --version 0.1.0-preview.9.0.0
NuGet\Install-Package Pure.Chart.RichRelationalModel.EFCore.Models -Version 0.1.0-preview.9.0.0
<PackageReference Include="Pure.Chart.RichRelationalModel.EFCore.Models" Version="0.1.0-preview.9.0.0" />
<PackageVersion Include="Pure.Chart.RichRelationalModel.EFCore.Models" Version="0.1.0-preview.9.0.0" />
<PackageReference Include="Pure.Chart.RichRelationalModel.EFCore.Models" />
paket add Pure.Chart.RichRelationalModel.EFCore.Models --version 0.1.0-preview.9.0.0
#r "nuget: Pure.Chart.RichRelationalModel.EFCore.Models, 0.1.0-preview.9.0.0"
#:package Pure.Chart.RichRelationalModel.EFCore.Models@0.1.0-preview.9.0.0
#addin nuget:?package=Pure.Chart.RichRelationalModel.EFCore.Models&version=0.1.0-preview.9.0.0&prerelease
#tool nuget:?package=Pure.Chart.RichRelationalModel.EFCore.Models&version=0.1.0-preview.9.0.0&prerelease
Pure.Chart.RichRelationalModel.EFCore.Models
EF Core entity record implementations of the chart rich relational model for the Pure ecosystem.
Overview
Pure.Chart.RichRelationalModel.EFCore.Models provides four sealed record types that implement the interfaces from Pure.Chart.RichRelationalModel.Abstractions and are designed to be used as EF Core entity types.
Each model exposes both a strongly-typed navigation property (e.g. ChartTypeEFCoreModel TypeNavigation) that EF Core can bind to, and an abstract interface property (e.g. IChartType Type) that delegates to the navigation property — allowing callers to program against the abstraction while EF Core works with the concrete type.
Models
| Class | Implements | Properties |
|---|---|---|
ChartEFCoreModel |
IChartRichRelationalModel |
Id, Title, Description, TypeId, TypeNavigation/Type, XAxisId, XAxisNavigation/XAxis, YAxisId, YAxisNavigation/YAxis, SeriesNavigation/Series |
ChartTypeEFCoreModel |
IChartTypeRichRelationalModel |
Id, Name |
ChartSeriesEFCoreModel |
IChartSeriesRichRelationalModel |
Id, ChartId, Legend, XAxisSource, YAxisSource, LineType |
AxisEFCoreModel |
IAxisRichRelationalModel |
Id, Legend |
All types live in the Pure.Chart.RichRelationalModel.EFCore.Models namespace.
Design Principles
- Immutable — all properties are get-only; values are set via constructor only.
- Dual surface — typed navigation properties satisfy EF Core; interface properties satisfy calling code.
- AOT-compatible —
IsAotCompatible = true; no reflection-based patterns.
Dependencies
Pure.Chart.RichRelationalModel.Abstractions— chart rich relational model interfaces (IChartRichRelationalModel,IAxisRichRelationalModel,IChartSeriesRichRelationalModel,IChartTypeRichRelationalModel)
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
- .NET 11
Installation
dotnet add package Pure.Chart.RichRelationalModel.EFCore.Models
Usage
using Pure.Chart.RichRelationalModel.Abstractions;
using Pure.Chart.RichRelationalModel.EFCore.Models;
// Construct with navigation objects for in-memory use or testing
IChartRichRelationalModel chart = new ChartEFCoreModel(
id: guid,
title: title,
description: description,
typeId: typeId,
typeNavigation: new ChartTypeEFCoreModel(typeId, typeName),
xAxisId: xAxisId,
xAxisNavigation: new AxisEFCoreModel(xAxisId, xAxisLegend),
yAxisId: yAxisId,
yAxisNavigation: new AxisEFCoreModel(yAxisId, yAxisLegend),
seriesNavigation: []
);
// Or use the FK-only constructor when EF Core will populate navigations
ChartEFCoreModel chartFk = new ChartEFCoreModel(
id, title, description, typeId, xAxisId, yAxisId
);
| 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.Chart.RichRelationalModel.Abstractions (>= 0.1.0-preview.5.1.0)
-
net11.0
- Pure.Chart.RichRelationalModel.Abstractions (>= 0.1.0-preview.5.1.0)
-
net7.0
- Pure.Chart.RichRelationalModel.Abstractions (>= 0.1.0-preview.5.1.0)
-
net8.0
- Pure.Chart.RichRelationalModel.Abstractions (>= 0.1.0-preview.5.1.0)
-
net9.0
- Pure.Chart.RichRelationalModel.Abstractions (>= 0.1.0-preview.5.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pure.Chart.RichRelationalModel.EFCore.Models:
| Package | Downloads |
|---|---|
|
Pure.Chart.RichRelationalModel.EFCore.Models.Configurations
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.9.0.0 | 81 | 11/11/2026 |
| 0.1.0-preview.8.0.0 | 300 | 10/23/2026 |
| 0.1.0-preview.7.0.0 | 1,516 | 4/26/2026 |
| 0.1.0-preview.6.0.0 | 195 | 4/20/2026 |
| 0.1.0-preview.5.0.0 | 439 | 2/27/2026 |
| 0.1.0-preview.4.0.0 | 165 | 2/18/2026 |
| 0.1.0-preview.3.1.0 | 121 | 2/18/2026 |
| 0.1.0-preview.3.0.0 | 124 | 2/16/2026 |
| 0.1.0-preview.2.0.0 | 91 | 2/16/2026 |
| 0.1.0-preview.1.0.0 | 104 | 2/14/2026 |
| 0.1.0-preview.0.1.0 | 98 | 2/12/2026 |