.NET API
StateGenerationCount
Tracon.Core.dllThe number of stored rows carrying one schema generation, and whether this build can read them.
public sealed record StateGenerationCount : IEquatable<StateGenerationCount>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<StateGenerationCount>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”StateGenerationCount()
Section titled “ StateGenerationCount()”public StateGenerationCount()Properties
Section titled “Properties”ReadableByThisBuild
Section titled “ ReadableByThisBuild”Whether the running build understands StateGenerationCount.SchemaGeneration.
public required bool ReadableByThisBuild { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”A row is readable when its generation is at or below the one this build writes. An unstamped row is readable too — it predates stamping, so it cannot be from the future.
RecordCount
Section titled “ RecordCount”The number of rows carrying StateGenerationCount.SchemaGeneration.
public required long RecordCount { get; init; }Property Value
Section titled “Property Value”SchemaGeneration
Section titled “ SchemaGeneration”The stored Tracon schema generation, or null for rows written before the generation was stamped.
public required int? SchemaGeneration { get; init; }Property Value
Section titled “Property Value”int?
Target
Section titled “ Target”Which table the rows belong to.
public required StatePreflightTarget Target { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(StateGenerationCount?)
Section titled “ Equals(StateGenerationCount?)”public bool Equals(StateGenerationCount? other)Parameters
Section titled “Parameters”other StateGenerationCount?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(StateGenerationCount?, StateGenerationCount?)
Section titled “ operator ==(StateGenerationCount?, StateGenerationCount?)”public static bool operator ==(StateGenerationCount? left, StateGenerationCount? right)Parameters
Section titled “Parameters”left StateGenerationCount?
right StateGenerationCount?
Returns
Section titled “Returns”operator !=(StateGenerationCount?, StateGenerationCount?)
Section titled “ operator !=(StateGenerationCount?, StateGenerationCount?)”public static bool operator !=(StateGenerationCount? left, StateGenerationCount? right)Parameters
Section titled “Parameters”left StateGenerationCount?
right StateGenerationCount?