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
<PackageReference Include="Soenneker.Documents.Typed.Named" Version="11.0.296" />
<PackageVersion Include="Soenneker.Documents.Typed.Named" Version="11.0.296" />
<PackageReference Include="Soenneker.Documents.Typed.Named" />
paket add Soenneker.Documents.Typed.Named --version 11.0.296
#r "nuget: Soenneker.Documents.Typed.Named, 11.0.296"
#:package Soenneker.Documents.Typed.Named@11.0.296
#addin nuget:?package=Soenneker.Documents.Typed.Named&version=11.0.296
#tool nuget:?package=Soenneker.Documents.Typed.Named&version=11.0.296
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Documents.Named (>= 11.0.2817)
- Soenneker.Documents.Typed (>= 11.0.174)
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 |
Updated Soenneker.Documents.Typed to 11.0.174