Fluxera.StronglyTypedId.MongoDB
8.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Fluxera.StronglyTypedId.MongoDB --version 8.0.0
NuGet\Install-Package Fluxera.StronglyTypedId.MongoDB -Version 8.0.0
<PackageReference Include="Fluxera.StronglyTypedId.MongoDB" Version="8.0.0" />
paket add Fluxera.StronglyTypedId.MongoDB --version 8.0.0
#r "nuget: Fluxera.StronglyTypedId.MongoDB, 8.0.0"
// Install Fluxera.StronglyTypedId.MongoDB as a Cake Addin
#addin nuget:?package=Fluxera.StronglyTypedId.MongoDB&version=8.0.0
// Install Fluxera.StronglyTypedId.MongoDB as a Cake Tool
#tool nuget:?package=Fluxera.StronglyTypedId.MongoDB&version=8.0.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. |
-
net8.0
- Fluxera.StronglyTypedId (>= 8.0.0)
- JetBrains.Annotations (>= 2023.3.0)
- MongoDB.Driver (>= 2.22.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Fluxera.StronglyTypedId.MongoDB:
Package | Downloads |
---|---|
Fluxera.Repository.MongoDB
A MongoDB repository implementation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.7 | 470 | 4/18/2024 |
8.0.6 | 215 | 4/13/2024 |
8.0.5 | 96 | 4/13/2024 |
8.0.4 | 157 | 3/19/2024 |
8.0.3 | 266 | 2/22/2024 |
8.0.2 | 473 | 1/4/2024 |
8.0.1 | 222 | 11/23/2023 |
8.0.0 | 132 | 11/15/2023 |
7.1.7 | 220 | 7/23/2023 |
7.1.6 | 139 | 7/20/2023 |
7.1.5 | 169 | 6/21/2023 |
7.1.4 | 388 | 4/13/2023 |
7.1.3 | 254 | 3/16/2023 |
7.1.2 | 303 | 2/24/2023 |
7.1.1 | 346 | 1/22/2023 |
7.1.0 | 319 | 1/18/2023 |
7.0.6 | 505 | 12/22/2022 |
7.0.5 | 292 | 12/13/2022 |
7.0.4 | 308 | 12/13/2022 |
7.0.3 | 342 | 12/9/2022 |
7.0.2 | 381 | 11/15/2022 |
7.0.1 | 335 | 11/12/2022 |
7.0.0 | 316 | 11/9/2022 |
6.1.6 | 610 | 10/12/2022 |
6.1.5 | 1,376 | 9/15/2022 |
6.1.4 | 615 | 7/30/2022 |
6.1.3 | 644 | 6/30/2022 |
6.1.2 | 635 | 6/15/2022 |
6.1.1 | 727 | 6/7/2022 |
6.1.0 | 386 | 6/7/2022 |
6.0.5 | 503 | 6/3/2022 |
6.0.4 | 648 | 6/1/2022 |
6.0.3 | 624 | 5/31/2022 |
6.0.1 | 615 | 5/30/2022 |
6.0.0 | 634 | 5/29/2022 |