Skip to content
Tracon

StateGenerationCount

Namespace Tracon · Assembly Tracon.Core.dll

The number of stored rows carrying one schema generation, and whether this build can read them.

public sealed record StateGenerationCount : IEquatable<StateGenerationCount>

objectStateGenerationCount

IEquatable<StateGenerationCount>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public StateGenerationCount()

Whether the running build understands StateGenerationCount.SchemaGeneration.

public required bool ReadableByThisBuild { get; init; }

bool

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.

The number of rows carrying StateGenerationCount.SchemaGeneration.

public required long RecordCount { get; init; }

long

The stored Tracon schema generation, or null for rows written before the generation was stamped.

public required int? SchemaGeneration { get; init; }

int?

Which table the rows belong to.

public required StatePreflightTarget Target { get; init; }

StatePreflightTarget

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(StateGenerationCount? other)

other StateGenerationCount?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(StateGenerationCount?, StateGenerationCount?)

Section titled “ operator ==(StateGenerationCount?, StateGenerationCount?)”
public static bool operator ==(StateGenerationCount? left, StateGenerationCount? right)

left StateGenerationCount?

right StateGenerationCount?

bool

operator !=(StateGenerationCount?, StateGenerationCount?)

Section titled “ operator !=(StateGenerationCount?, StateGenerationCount?)”
public static bool operator !=(StateGenerationCount? left, StateGenerationCount? right)

left StateGenerationCount?

right StateGenerationCount?

bool