RecordHash

Classes > Sync > RecordHash

Per-record hash for hash-based tracking. Spec Section 7.5.2 - _sync_record_hashes table.

public sealed record RecordHash : IEquatable<RecordHash>

Constructors

RecordHash

public RecordHash(string MappingId, string SourcePk, string PayloadHash, string SyncedAt)

Per-record hash for hash-based tracking. Spec Section 7.5.2 - _sync_record_hashes table.

Parameter Type Description
MappingId String Mapping identifier.
SourcePk String JSON pk_value from source table.
PayloadHash String SHA-256 hash of canonical JSON payload.
SyncedAt String ISO 8601 UTC timestamp when synced.

Properties

MappingId

public string MappingId { get; init; }

Mapping identifier.

SourcePk

public string SourcePk { get; init; }

JSON pk_value from source table.

PayloadHash

public string PayloadHash { get; init; }

SHA-256 hash of canonical JSON payload.

SyncedAt

public string SyncedAt { get; init; }

ISO 8601 UTC timestamp when synced.