AdCodicem.ValueObjects.MongoDB 0.3.0

Prefix Reserved
dotnet add package AdCodicem.ValueObjects.MongoDB --version 0.3.0
                    
NuGet\Install-Package AdCodicem.ValueObjects.MongoDB -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.MongoDB" 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.MongoDB" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="AdCodicem.ValueObjects.MongoDB" />
                    
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.MongoDB --version 0.3.0
                    
#r "nuget: AdCodicem.ValueObjects.MongoDB, 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.MongoDB@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.MongoDB&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=AdCodicem.ValueObjects.MongoDB&version=0.3.0
                    
Install as a Cake Tool

AdCodicem.ValueObjects.MongoDB

MongoDB.Driver serializers for AdCodicem value objects: each stored as the bare value its underlying type writes, LINQ queries over .Value translated to the field, strict reads through the value object's rules by default, a value the type refuses never written, and a $jsonSchema collection validator built from the rules.

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.MongoDB
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 (1)

Showing the top 1 NuGet packages that depend on AdCodicem.ValueObjects.MongoDB:

Package Downloads
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.0 123 10/29/2026
0.3.0-preview.425 67 10/27/2026
0.3.0-preview.322 150 10/19/2026
0.3.0-preview.283 92 10/12/2026