AdCodicem.ValueObjects.Identifiers 0.3.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AdCodicem.ValueObjects.Identifiers --version 0.3.0
                    
NuGet\Install-Package AdCodicem.ValueObjects.Identifiers -Version 0.3.0
                    
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="AdCodicem.ValueObjects.Identifiers" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AdCodicem.ValueObjects.Identifiers" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="AdCodicem.ValueObjects.Identifiers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AdCodicem.ValueObjects.Identifiers --version 0.3.0
                    
#r "nuget: AdCodicem.ValueObjects.Identifiers, 0.3.0"
                    
#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.
#:package AdCodicem.ValueObjects.Identifiers@0.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AdCodicem.ValueObjects.Identifiers&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=AdCodicem.ValueObjects.Identifiers&version=0.3.0
                    
Install as a Cake Tool

AdCodicem.ValueObjects.Identifiers

Stripe-style public entity identifiers as value objects. Annotate a readonly partial struct with [EntityId("acc")] and get a prefixed, fixed-width, index-friendly identifier with a check character, generated with no reflection and no allocation beyond the value itself.

It is a package of AdCodicem.ValueObjects, single-value DDD value objects for .NET 10 and later: a readonly partial struct marked [ValueObject<T>] gets its whole implementation from a source generator, and crosses every boundary as its underlying type. It works with the main package, which holds the generator:

dotnet add package AdCodicem.ValueObjects
dotnet add package AdCodicem.ValueObjects.Identifiers
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AdCodicem.ValueObjects.Identifiers:

Package Downloads
AdCodicem.ValueObjects.Identifiers.EntityFrameworkCore

Entity Framework Core mapping for AdCodicem entity identifiers: fixed-width non-Unicode columns sized from the identifier profile, with an optional binary collation, in one call.

AdCodicem.ValueObjects.Identifiers.MongoDB

MongoDB.Driver id generation for AdCodicem entity identifiers: a document inserted without its [EntityId] _id is given a new identifier minted by the type, as the driver mints an ObjectId.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1-preview.19 0 11/30/2026
0.3.0 165 10/29/2026
0.3.0-preview.425 86 10/27/2026
0.3.0-preview.322 164 10/19/2026
0.3.0-preview.283 103 10/12/2026
0.3.0-preview.248 81 10/5/2026
0.3.0-preview.205 79 10/4/2026
0.3.0-preview.197 74 10/3/2026
0.2.2-preview.0.172 86 10/3/2026
0.2.2-preview.0.144 84 10/2/2026
0.2.2-preview.0.143 83 10/2/2026
0.2.2-preview.0.138 95 10/2/2026
0.2.2-preview.0.137 83 10/2/2026
0.2.2-preview.0.136 83 10/2/2026
0.2.2-preview.0.135 78 10/1/2026
0.2.2-preview.0.100 81 10/1/2026
0.2.2-preview.0.2 85 9/30/2026
0.2.2-preview.0.1 75 9/30/2026
0.2.1 283 9/30/2026
0.2.1-preview.0.12 76 9/30/2026
Loading failed