Pure.Chart.RichRelationalModel.EFCore.Models 0.1.0-preview.9.0.0

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

Pure.Chart.RichRelationalModel.EFCore.Models

EF Core entity record implementations of the chart rich relational model for the Pure ecosystem.

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

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

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