Class SchemaComparisonDto
Result of CompareSchemaAsync(CollectionInfo, int, CancellationToken): a three-way diff between the C# entity type's public properties, the registered collection type, and the field set observed across sampled documents.
public record SchemaComparisonDto : IEquatable<SchemaComparisonDto>
- Inheritance
-
SchemaComparisonDto
- Implements
- Inherited Members
Properties
EntityTypes
Names of the entity types declared on the collection (from EntityTypes).
public required string[] EntityTypes { get; init; }
Property Value
- string[]
Fields
public required SchemaComparisonField[] Fields { get; init; }
Property Value
SampleSize
Caller-requested sample size (capped by implementation).
public required int SampleSize { get; init; }
Property Value
SampledCount
Actual number of documents sampled (≤ SampleSize, capped by collection size).
public required int SampledCount { get; init; }