SemanticTypeModel.EFCore
2.4.4
See the version list below for details.
dotnet add package SemanticTypeModel.EFCore --version 2.4.4
NuGet\Install-Package SemanticTypeModel.EFCore -Version 2.4.4
<PackageReference Include="SemanticTypeModel.EFCore" Version="2.4.4" />
<PackageVersion Include="SemanticTypeModel.EFCore" Version="2.4.4" />
<PackageReference Include="SemanticTypeModel.EFCore" />
paket add SemanticTypeModel.EFCore --version 2.4.4
#r "nuget: SemanticTypeModel.EFCore, 2.4.4"
#:package SemanticTypeModel.EFCore@2.4.4
#addin nuget:?package=SemanticTypeModel.EFCore&version=2.4.4
#tool nuget:?package=SemanticTypeModel.EFCore&version=2.4.4
SemanticTypeModel.EFCore
What this package does
SemanticTypeModel.EFCore provides EF Core domain-model derivation and provider-neutral ModelBuilder projection from semantic models.
Install
dotnet add package SemanticTypeModel.EFCore --version 2.4.4
Use when
- Install this package when you need EF Core domain-model derivation and provider-neutral ModelBuilder projection from semantic models.
- Keep package boundaries explicit in an application or library.
- Pair generated semantic models with the target runtime you are configuring.
- Apply semantic metadata inside DbContext.OnModelCreating.
Minimal example
using SemanticTypeModel.EFCore;
var result = AppSemanticTypeModel.Create().DeriveEfCoreModel();
result.Diagnostics.ThrowIfErrors();
modelBuilder.ApplyEfCoreSemanticModel(result.Model);
Main APIs
| API | Purpose |
|---|---|
DeriveEfCoreModel |
Derives EF Core semantic metadata. |
ApplyEfCoreSemanticModel |
Applies provider-neutral metadata to ModelBuilder. |
ApplySemanticTypeModel |
Projects directly from a TypeSchemaModel to ModelBuilder. |
EfCoreDerivationOptions |
Controls derivation and projection policies. |
Works with
- Microsoft.EntityFrameworkCore, SemanticTypeModel.Core, and generated model providers.
SemanticTypeModel.Abstractions.Modelfor the current unified model surface.public-docs/samples/projects that demonstrate package-based usage.
Does not do
- It does not create DbContext types, run migrations, select database providers, or tune provider-specific SQL.
- It does not make milestone plans or historical research documents part of the public API.
- It does not change compatibility rules described in the compatibility documentation.
More documentation
EF application modes
Closed CLR application is the default. ApplySemanticTypeModel is a convenience wrapper over derivation plus ApplyEfCoreSemanticModel; the latter consumes source lineage and suppression metadata from EfCoreSemanticModel. Use ApplyEfCoreSemanticModelAsSharedTypes only when explicitly choosing provider-neutral shared types. A lineage-free closed application reports EFCORE_SOURCE_LINEAGE_REQUIRED.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.0)
- SemanticTypeModel.Abstractions (>= 2.4.4)
- SemanticTypeModel.Core (>= 2.4.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SemanticTypeModel.EFCore:
| Package | Downloads |
|---|---|
|
SemanticTypeModel.EFCore.Generators
Generates composable EF Core entity configurations from explicitly selected SemanticTypeModel manifests. Install it in an EF persistence project to produce ordinary IEntityTypeConfiguration code; it does not scan or clean unrelated DbContext entities. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 40 | 8/23/2026 |
| 4.0.1 | 91 | 8/18/2026 |
| 4.0.0 | 100 | 8/16/2026 |
| 2.6.0 | 103 | 8/4/2026 |
| 2.5.3 | 98 | 8/4/2026 |
| 2.5.1 | 98 | 8/4/2026 |
| 2.5.0 | 100 | 8/3/2026 |
| 2.4.6 | 98 | 8/3/2026 |
| 2.4.5 | 99 | 8/3/2026 |
| 2.4.4 | 106 | 8/2/2026 |
| 2.4.3 | 96 | 7/31/2026 |
| 2.4.2 | 98 | 7/31/2026 |
| 2.4.1 | 108 | 7/3/2026 |
| 2.4.0 | 102 | 7/2/2026 |
| 2.3.0 | 109 | 6/20/2026 |
| 2.2.0 | 121 | 6/16/2026 |
| 2.1.0 | 110 | 6/15/2026 |
| 2.0.0 | 121 | 6/7/2026 |
| 1.1.0 | 115 | 6/4/2026 |
| 1.0.0 | 122 | 6/1/2026 |