Fluxera.StronglyTypedId.EntityFrameworkCore
7.1.0
Prefix Reserved
See the version list below for details.
dotnet add package Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.0
NuGet\Install-Package Fluxera.StronglyTypedId.EntityFrameworkCore -Version 7.1.0
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="7.1.0" />
paket add Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.0
#r "nuget: Fluxera.StronglyTypedId.EntityFrameworkCore, 7.1.0"
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=7.1.0
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=7.1.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 | 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 was computed. 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. |
-
net7.0
- Fluxera.StronglyTypedId (>= 7.1.0)
- JetBrains.Annotations (>= 2022.3.1)
- Microsoft.EntityFrameworkCore (>= 7.0.2)
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 |
---|---|---|
8.0.7 | 178 | 4/18/2024 |
8.0.6 | 113 | 4/13/2024 |
8.0.5 | 87 | 4/13/2024 |
8.0.4 | 160 | 3/19/2024 |
8.0.3 | 262 | 2/22/2024 |
8.0.2 | 558 | 1/4/2024 |
8.0.1 | 466 | 11/23/2023 |
8.0.0 | 199 | 11/15/2023 |
7.1.7 | 359 | 7/23/2023 |
7.1.6 | 296 | 7/20/2023 |
7.1.5 | 292 | 6/21/2023 |
7.1.4 | 890 | 4/13/2023 |
7.1.3 | 521 | 3/16/2023 |
7.1.2 | 443 | 2/24/2023 |
7.1.1 | 490 | 1/22/2023 |
7.1.0 | 423 | 1/18/2023 |
7.0.6 | 782 | 12/22/2022 |
7.0.5 | 444 | 12/13/2022 |
7.0.4 | 435 | 12/13/2022 |
7.0.3 | 670 | 12/9/2022 |
7.0.2 | 710 | 11/15/2022 |
7.0.1 | 471 | 11/12/2022 |
7.0.0 | 338 | 11/9/2022 |
6.1.6 | 923 | 10/12/2022 |
6.1.5 | 1,213 | 9/15/2022 |
6.1.4 | 731 | 7/30/2022 |
6.1.3 | 744 | 6/30/2022 |
6.1.2 | 684 | 6/15/2022 |
6.1.1 | 959 | 6/7/2022 |
6.1.0 | 411 | 6/7/2022 |
6.0.5 | 714 | 6/3/2022 |
6.0.4 | 970 | 6/1/2022 |
6.0.3 | 975 | 5/31/2022 |
6.0.1 | 720 | 5/30/2022 |
6.0.0 | 717 | 5/29/2022 |