Fluxera.StronglyTypedId.EntityFrameworkCore
9.2.0
Prefix Reserved
dotnet add package Fluxera.StronglyTypedId.EntityFrameworkCore --version 9.2.0
NuGet\Install-Package Fluxera.StronglyTypedId.EntityFrameworkCore -Version 9.2.0
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="9.2.0" />
<PackageVersion Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="9.2.0" />
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" />
paket add Fluxera.StronglyTypedId.EntityFrameworkCore --version 9.2.0
#r "nuget: Fluxera.StronglyTypedId.EntityFrameworkCore, 9.2.0"
#:package Fluxera.StronglyTypedId.EntityFrameworkCore@9.2.0
#addin nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=9.2.0
#tool nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=9.2.0
Fluxera.StronglyTypedId
A library that provides strongly-typed Ids without code generation.
Usage
To implement a strongly-typed ID just inherit from the StronglyTypedId<,> base class.
The base class implements all aspects of the ID, like quality and comparablility.
public sealed class PersonId : StronglyTypedId<PersonId, string>
{
/// <inheritdoc />
public PersonId(string value) : base(value)
{
}
}
Serializer Support
This library provides serializer support for the following libaries:
- EF Core
- JSON.NET
- LiteDB
- MongoDB
- System.Text.Json
To use the serializer support just use the UseStronglyTypedId extension method to configure the
corresponding serializer.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. |
-
net8.0
- Fluxera.StronglyTypedId (>= 9.2.0)
- Microsoft.EntityFrameworkCore (>= 9.0.7)
-
net9.0
- Fluxera.StronglyTypedId (>= 9.2.0)
- Microsoft.EntityFrameworkCore (>= 9.0.7)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Fluxera.StronglyTypedId.EntityFrameworkCore:
| Package | Downloads |
|---|---|
|
Fluxera.Repository.EntityFrameworkCore
An EntityFramework Core repository implementation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.2.0 | 680 | 7/28/2025 |
| 9.0.2 | 1,667 | 2/5/2025 |
| 9.0.1 | 789 | 11/16/2024 |
| 9.0.0 | 264 | 11/14/2024 |
| 8.3.7 | 732 | 11/1/2024 |
| 8.3.6 | 1,360 | 7/9/2024 |
| 8.3.5 | 357 | 6/26/2024 |
| 8.3.4 | 426 | 6/15/2024 |
| 8.3.3 | 112 | 6/12/2024 |
| 8.3.2 | 244 | 6/12/2024 |
| 8.3.1 | 287 | 6/12/2024 |
| 8.2.1 | 226 | 6/12/2024 |
| 8.2.0 | 246 | 6/8/2024 |
| 8.1.1 | 329 | 6/2/2024 |
| 8.1.0 | 319 | 5/26/2024 |
| 8.0.9 | 225 | 5/24/2024 |
| 8.0.8 | 248 | 5/24/2024 |
| 8.0.7 | 874 | 4/18/2024 |
| 8.0.6 | 391 | 4/13/2024 |
| 8.0.5 | 318 | 4/13/2024 |