Soenneker.AutoFaker.Overrides.Documents.Document
4.0.1136
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.AutoFaker.Overrides.Documents.Document --version 4.0.1136
NuGet\Install-Package Soenneker.AutoFaker.Overrides.Documents.Document -Version 4.0.1136
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="4.0.1136" />
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="4.0.1136" />
<PackageReference Include="Soenneker.AutoFaker.Overrides.Documents.Document" />
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 4.0.1136
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.AutoFaker.Overrides.Documents.Document, 4.0.1136"
#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@4.0.1136
#: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=4.0.1136
#tool nuget:?package=Soenneker.AutoFaker.Overrides.Documents.Document&version=4.0.1136
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
DocumentIdto a GUID string.PartitionKeyto the same value asDocumentId.CreatedAtandModifiedAtto 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 | Versions 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.
-
net10.0
- Soenneker.Documents.Document (>= 4.0.2702)
- Soenneker.Utils.AutoBogus (>= 4.0.941)
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 |
|---|---|---|
| 4.0.1141 | 0 | 9/3/2026 |
| 4.0.1140 | 35 | 9/3/2026 |
| 4.0.1139 | 38 | 9/2/2026 |
| 4.0.1138 | 61 | 9/2/2026 |
| 4.0.1137 | 57 | 9/2/2026 |
| 4.0.1136 | 76 | 9/2/2026 |
| 4.0.1135 | 85 | 8/31/2026 |
| 4.0.1133 | 80 | 8/31/2026 |
| 4.0.1132 | 77 | 8/31/2026 |
| 4.0.1131 | 98 | 8/31/2026 |
| 4.0.1130 | 88 | 8/31/2026 |
| 4.0.1129 | 81 | 8/30/2026 |
| 4.0.1128 | 96 | 8/30/2026 |
| 4.0.1127 | 120 | 8/30/2026 |
| 4.0.1126 | 83 | 8/30/2026 |
| 4.0.1125 | 79 | 8/29/2026 |
| 4.0.1123 | 75 | 8/29/2026 |
| 4.0.1122 | 76 | 8/29/2026 |
| 4.0.1121 | 81 | 8/27/2026 |
| 4.0.1120 | 79 | 8/26/2026 |
Loading failed
Update dependency Soenneker.Utils.AutoBogus to 4.0.941 (#1686)
Automatically merged