Fluxera.StronglyTypedId.EntityFrameworkCore
7.1.3
dotnet add package Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.3
NuGet\Install-Package Fluxera.StronglyTypedId.EntityFrameworkCore -Version 7.1.3
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="7.1.3" />
paket add Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.3
#r "nuget: Fluxera.StronglyTypedId.EntityFrameworkCore, 7.1.3"
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=7.1.3
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=7.1.3
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 |
---|---|
.NET | net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
-
net7.0
- Fluxera.StronglyTypedId (>= 7.1.3)
- JetBrains.Annotations (>= 2022.3.1)
- Microsoft.EntityFrameworkCore (>= 7.0.4)
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 |
---|---|---|
7.1.3 | 99 | 3/16/2023 |
7.1.2 | 138 | 2/24/2023 |
7.1.1 | 176 | 1/22/2023 |
7.1.0 | 158 | 1/18/2023 |
7.0.6 | 235 | 12/22/2022 |
7.0.5 | 175 | 12/13/2022 |
7.0.4 | 168 | 12/13/2022 |
7.0.3 | 187 | 12/9/2022 |
7.0.2 | 232 | 11/15/2022 |
7.0.1 | 223 | 11/12/2022 |
7.0.0 | 214 | 11/9/2022 |
6.1.6 | 371 | 10/12/2022 |
6.1.5 | 544 | 9/15/2022 |
6.1.4 | 389 | 7/30/2022 |
6.1.3 | 402 | 6/30/2022 |
6.1.2 | 371 | 6/15/2022 |
6.1.1 | 478 | 6/7/2022 |
6.1.0 | 298 | 6/7/2022 |
6.0.5 | 399 | 6/3/2022 |
6.0.4 | 480 | 6/1/2022 |
6.0.3 | 477 | 5/31/2022 |
6.0.1 | 392 | 5/30/2022 |
6.0.0 | 393 | 5/29/2022 |