Concrete relational model records for the Pure ecosystem — immutable implementations of chart, axis, and series domain entities.
Pure.Chart.RelationalModel provides sealed record implementations of the chart domain contracts defined in Pure.Chart.RelationalModel.Abstractions. Each record is immutable, holds only IGuid and IString properties, and is fully compatible with Native AOT.
| Type | Implements | Properties |
|---|---|---|
ChartRelationalModel |
IChartRelationalModel |
Id, Title, Description, TypeId, XAxisId, YAxisId |
ChartTypeRelationalModel |
IChartTypeRelationalModel |
Id, Name |
ChartSeriesRelationalModel |
IChartSeriesRelationalModel |
Id, ChartId, Legend, XAxisSource, YAxisSource |
AxisRelationalModel |
IAxisRelationalModel |
Id, Legend |
All properties are constructor-assigned and exposed as read-only get-only members. No setters, no mutation.
Pure.Chart.RelationalModel.Abstractions0.1.0-preview.6.0.0 — interface contracts for chart, chart type, series, and axis relational models
- .NET 7
- .NET 8
- .NET 9
- .NET 10
dotnet add package Pure.Chart.RelationalModelusing Pure.Chart.RelationalModel;
// All constructor parameters implement IGuid or IString from Pure.Primitives.Abstractions.
var chart = new ChartRelationalModel(id, title, description, typeId, xAxisId, yAxisId);
var chartType = new ChartTypeRelationalModel(id, name);
var series = new ChartSeriesRelationalModel(id, chartId, legend, xAxisSource, yAxisSource);
var axis = new AxisRelationalModel(id, legend);