SyncLogEntryDto
DTO for sync log entry (JSON serialization).
public sealed record SyncLogEntryDto : IEquatable<SyncLogEntryDto>
Constructors
SyncLogEntryDto
public SyncLogEntryDto(long Version, string TableName, string PkValue, string Operation, string? Payload, string Origin, string Timestamp)
DTO for sync log entry (JSON serialization).
| Parameter | Type | Description |
|---|---|---|
Version |
Int64 |
Sync version number. |
TableName |
String |
Name of the table. |
PkValue |
String |
Primary key value (JSON). |
Operation |
String |
Operation type (INSERT, UPDATE, DELETE). |
Payload |
String |
JSON payload of the change. |
Origin |
String |
Origin ID that made the change. |
Timestamp |
String |
ISO 8601 timestamp. |
Properties
Version
public long Version { get; init; }
Sync version number.
TableName
public string TableName { get; init; }
Name of the table.
PkValue
public string PkValue { get; init; }
Primary key value (JSON).
Operation
public string Operation { get; init; }
Operation type (INSERT, UPDATE, DELETE).
Payload
public string? Payload { get; init; }
JSON payload of the change.
Origin
public string Origin { get; init; }
Origin ID that made the change.
Timestamp
public string Timestamp { get; init; }
ISO 8601 timestamp.