Soenneker.AutoFaker.Overrides.Documents.Document 11.0.1213

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

An AutoFaker override that gives Document models internally consistent identifiers and timestamps.

Installation

dotnet add package Soenneker.AutoFaker.Overrides.Documents.Document

Usage

using Soenneker.AutoFaker.Overrides.Documents.Document;
using Soenneker.Utils.AutoBogus;

var autoFaker = new AutoFaker();
autoFaker.Config.Overrides = [new DocumentOverride()];

OrderDocument document = autoFaker.Generate<OrderDocument>();

The override applies to Document and derived types. It sets:

  • DocumentId to a GUID string.
  • PartitionKey to the same value as DocumentId.
  • CreatedAt and ModifiedAt to the same current UTC timestamp.

When combining this with a more specific override, put the specific override later in Config.Overrides if it should replace any of these values.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.1213 243 11/3/2026
11.0.1212 79 11/3/2026
11.0.1211 85 11/3/2026
11.0.1209 101 11/2/2026
11.0.1208 94 11/2/2026
11.0.1207 149 10/26/2026
11.0.1206 87 10/26/2026
11.0.1205 101 10/26/2026
11.0.1204 94 10/26/2026
4.0.1203 97 10/26/2026
4.0.1202 223 10/15/2026
4.0.1201 101 10/15/2026
4.0.1200 104 10/14/2026
4.0.1199 106 10/14/2026
4.0.1197 101 10/14/2026
4.0.1196 101 10/14/2026
4.0.1195 96 10/14/2026
4.0.1194 104 10/14/2026
4.0.1187 119 10/12/2026
4.0.1185 101 10/12/2026
Loading failed

Updated Soenneker.Utils.AutoBogus to 11.0.1002