Pure.Chart.RichRelationalModel.EFCore
0.1.0-preview.7.0.0
See the version list below for details.
dotnet add package Pure.Chart.RichRelationalModel.EFCore --version 0.1.0-preview.7.0.0
NuGet\Install-Package Pure.Chart.RichRelationalModel.EFCore -Version 0.1.0-preview.7.0.0
<PackageReference Include="Pure.Chart.RichRelationalModel.EFCore" Version="0.1.0-preview.7.0.0" />
<PackageVersion Include="Pure.Chart.RichRelationalModel.EFCore" Version="0.1.0-preview.7.0.0" />
<PackageReference Include="Pure.Chart.RichRelationalModel.EFCore" />
paket add Pure.Chart.RichRelationalModel.EFCore --version 0.1.0-preview.7.0.0
#r "nuget: Pure.Chart.RichRelationalModel.EFCore, 0.1.0-preview.7.0.0"
#:package Pure.Chart.RichRelationalModel.EFCore@0.1.0-preview.7.0.0
#addin nuget:?package=Pure.Chart.RichRelationalModel.EFCore&version=0.1.0-preview.7.0.0&prerelease
#tool nuget:?package=Pure.Chart.RichRelationalModel.EFCore&version=0.1.0-preview.7.0.0&prerelease
Pure.Chart.RichRelationalModel.EFCore
Entity Framework Core DbContext for the Pure.Chart RichRelationalModel — maps chart, axis, chart type, and series entities to a relational database.
Overview
Pure.Chart.RichRelationalModel.EFCore provides a ready-to-use EF Core DbContext for persisting chart data modelled with the Pure.Chart RichRelationalModel. It exposes typed DbSet<T> properties for every aggregate root and applies the full set of EF Core model configurations on startup.
Public API
| Type | Kind | Description |
|---|---|---|
ChartDbContext |
sealed class |
EF Core DbContext for the chart domain. Primary constructor accepts DbContextOptions<ChartDbContext>. |
ChartDbContext — DbSets
| Property | Entity type | Description |
|---|---|---|
Charts |
ChartEFCoreModel |
Root chart aggregates |
Types |
ChartTypeEFCoreModel |
Chart type lookup entries |
Axes |
AxisEFCoreModel |
Axis definitions attached to charts |
Series |
ChartSeriesEFCoreModel |
Data series belonging to charts |
OnModelCreating applies ChartConfiguration, ChartTypeConfiguration, AxisConfiguration, and ChartSeriesConfiguration from the companion configurations package.
Dependencies
Pure.Chart.RichRelationalModel.EFCore.Models.Configurations— EF CoreIEntityTypeConfiguration<T>implementations for all chart entities
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
Installation
dotnet add package Pure.Chart.RichRelationalModel.EFCore
Usage
Register ChartDbContext in your DI container:
builder.Services.AddDbContext<ChartDbContext>(options =>
options.UseNpgsql(connectionString));
Inject and query:
public sealed class ChartRepository(ChartDbContext db)
{
public Task<List<ChartEFCoreModel>> GetAllAsync(CancellationToken ct) =>
db.Charts.ToListAsync(ct);
}
| 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.Chart.RichRelationalModel.EFCore.Models.Configurations (>= 0.1.0-preview.6.0.0)
-
net7.0
- Pure.Chart.RichRelationalModel.EFCore.Models.Configurations (>= 0.1.0-preview.6.0.0)
-
net8.0
- Pure.Chart.RichRelationalModel.EFCore.Models.Configurations (>= 0.1.0-preview.6.0.0)
-
net9.0
- Pure.Chart.RichRelationalModel.EFCore.Models.Configurations (>= 0.1.0-preview.6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.7.1.0 | 59 | 11/11/2026 |
| 0.1.0-preview.7.0.0 | 69 | 11/5/2026 |
| 0.1.0-preview.6.0.0 | 147 | 10/23/2026 |
| 0.1.0-preview.5.1.1 | 486 | 8/4/2026 |
| 0.1.0-preview.5.1.0 | 305 | 6/25/2026 |
| 0.1.0-preview.5.0.0 | 509 | 4/26/2026 |
| 0.1.0-preview.4.0.0 | 170 | 4/20/2026 |
| 0.1.0-preview.3.0.0 | 322 | 2/27/2026 |
| 0.1.0-preview.2.0.0 | 104 | 2/19/2026 |
| 0.1.0-preview.1.0.0 | 108 | 2/18/2026 |
| 0.1.0-preview.0.2.1 | 98 | 2/18/2026 |
| 0.1.0-preview.0.2.0 | 95 | 2/18/2026 |
| 0.1.0-preview.0.1.0 | 102 | 2/17/2026 |