Fluxera.StronglyTypedId.EntityFrameworkCore
6.1.2
Prefix Reserved
See the version list below for details.
dotnet add package Fluxera.StronglyTypedId.EntityFrameworkCore --version 6.1.2
NuGet\Install-Package Fluxera.StronglyTypedId.EntityFrameworkCore -Version 6.1.2
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="6.1.2" />
paket add Fluxera.StronglyTypedId.EntityFrameworkCore --version 6.1.2
#r "nuget: Fluxera.StronglyTypedId.EntityFrameworkCore, 6.1.2"
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=6.1.2
// Install Fluxera.StronglyTypedId.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Fluxera.StronglyTypedId.EntityFrameworkCore&version=6.1.2
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 | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
-
net6.0
- Fluxera.StronglyTypedId (>= 6.1.2)
- JetBrains.Annotations (>= 2022.1.0)
- Microsoft.EntityFrameworkCore (>= 6.0.6)
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 | 377 | 4/18/2024 |
8.0.6 | 172 | 4/13/2024 |
8.0.5 | 118 | 4/13/2024 |
8.0.4 | 209 | 3/19/2024 |
8.0.3 | 276 | 2/22/2024 |
8.0.2 | 571 | 1/4/2024 |
8.0.1 | 476 | 11/23/2023 |
8.0.0 | 207 | 11/15/2023 |
7.1.7 | 364 | 7/23/2023 |
7.1.6 | 301 | 7/20/2023 |
7.1.5 | 297 | 6/21/2023 |
7.1.4 | 906 | 4/13/2023 |
7.1.3 | 528 | 3/16/2023 |
7.1.2 | 448 | 2/24/2023 |
7.1.1 | 498 | 1/22/2023 |
7.1.0 | 429 | 1/18/2023 |
7.0.6 | 796 | 12/22/2022 |
7.0.5 | 449 | 12/13/2022 |
7.0.4 | 440 | 12/13/2022 |
7.0.3 | 679 | 12/9/2022 |
7.0.2 | 719 | 11/15/2022 |
7.0.1 | 476 | 11/12/2022 |
7.0.0 | 340 | 11/9/2022 |
6.1.6 | 934 | 10/12/2022 |
6.1.5 | 1,228 | 9/15/2022 |
6.1.4 | 735 | 7/30/2022 |
6.1.3 | 748 | 6/30/2022 |
6.1.2 | 688 | 6/15/2022 |
6.1.1 | 963 | 6/7/2022 |
6.1.0 | 411 | 6/7/2022 |
6.0.5 | 721 | 6/3/2022 |
6.0.4 | 979 | 6/1/2022 |
6.0.3 | 982 | 5/31/2022 |
6.0.1 | 724 | 5/30/2022 |
6.0.0 | 719 | 5/29/2022 |