Soenneker.Documents.Typed.Named 11.0.298

Prefix Reserved
dotnet add package Soenneker.Documents.Typed.Named --version 11.0.298
                    
NuGet\Install-Package Soenneker.Documents.Typed.Named -Version 11.0.298
                    
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.298" />
                    
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.298" />
                    
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.298
                    
#r "nuget: Soenneker.Documents.Typed.Named, 11.0.298"
                    
#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.298
                    
#: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.298
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Documents.Typed.Named&version=11.0.298
                    
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.298 268 11/15/2026
11.0.297 108 11/15/2026
11.0.296 185 11/11/2026
11.0.294 126 11/11/2026
11.0.293 113 11/11/2026
11.0.291 132 11/11/2026
11.0.290 116 11/11/2026
11.0.289 117 11/11/2026
11.0.288 117 11/11/2026
11.0.287 259 11/3/2026
11.0.286 119 11/3/2026
11.0.285 134 11/2/2026
11.0.284 99 11/2/2026
11.0.283 147 10/27/2026
11.0.282 121 10/27/2026
11.0.281 138 10/26/2026
11.0.280 113 10/26/2026
11.0.279 107 10/26/2026
11.0.278 119 10/26/2026
11.0.277 127 10/26/2026
Loading failed

Updated Soenneker.Documents.Typed to 11.0.175