Fluxera.StronglyTypedId.EntityFrameworkCore 7.1.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 7.0
dotnet add package Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.3
NuGet\Install-Package Fluxera.StronglyTypedId.EntityFrameworkCore -Version 7.1.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="7.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fluxera.StronglyTypedId.EntityFrameworkCore --version 7.1.3
#r "nuget: Fluxera.StronglyTypedId.EntityFrameworkCore, 7.1.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

Build Status

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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fluxera.StronglyTypedId.EntityFrameworkCore:

Package Downloads
Fluxera.Repository.EntityFrameworkCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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