Soenneker.Documents.Typed.Named 11.0.296

Prefix Reserved
dotnet add package Soenneker.Documents.Typed.Named --version 11.0.296
                    
NuGet\Install-Package Soenneker.Documents.Typed.Named -Version 11.0.296
                    
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="Soenneker.Documents.Typed.Named" Version="11.0.296" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Documents.Typed.Named" Version="11.0.296" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Documents.Typed.Named" />
                    
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 Soenneker.Documents.Typed.Named --version 11.0.296
                    
#r "nuget: Soenneker.Documents.Typed.Named, 11.0.296"
                    
#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 Soenneker.Documents.Typed.Named@11.0.296
                    
#: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=Soenneker.Documents.Typed.Named&version=11.0.296
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Documents.Typed.Named&version=11.0.296
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Documents.Typed.Named

Provides a typed document base with an additional serialized Name field.

Installation

dotnet add package Soenneker.Documents.Typed.Named

Usage

using Soenneker.Documents.Typed.Named;

public sealed class WorkflowDocument : NamedTypedDocument
{
    public override string EntityType { get; set; } = "workflow";

    public bool Enabled { get; set; }
}

var workflow = new WorkflowDocument
{
    DocumentId = "onboarding",
    PartitionKey = "tenant-7",
    CreatedAt = DateTimeOffset.UtcNow,
    Name = "Customer onboarding",
    Enabled = true
};

The inherited fields serialize as id, partitionKey, createdAt, modifiedAt, entityType, and name with System.Text.Json attributes.

Derived classes must implement EntityType. Name is virtual and can be overridden when a specialized storage model needs different behavior. Neither property is initialized or validated by the package, and no polymorphic serializer is registered automatically.

INamedTypedDocument combines INamedDocument and ITypedDocument without adding members. Use it when persistence or routing code needs the complete identity, timestamp, name, and discriminator contract.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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 Soenneker.Documents.Typed.Named:

Package Downloads
Soenneker.Documents.General.Named

A document type for general storage purposes, derived from GeneralDocument, providing a Name property

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.296 119 11/11/2026
11.0.294 70 11/11/2026
11.0.293 59 11/11/2026
11.0.291 72 11/11/2026
11.0.290 59 11/11/2026
11.0.289 85 11/11/2026
11.0.288 88 11/11/2026
11.0.287 250 11/3/2026
11.0.286 110 11/3/2026
11.0.285 126 11/2/2026
11.0.284 92 11/2/2026
11.0.283 142 10/27/2026
11.0.282 115 10/27/2026
11.0.281 132 10/26/2026
11.0.280 107 10/26/2026
11.0.279 103 10/26/2026
11.0.278 113 10/26/2026
11.0.277 115 10/26/2026
4.0.276 482 10/15/2026
4.0.275 117 10/14/2026
Loading failed

Updated Soenneker.Documents.Typed to 11.0.174