ChangeApplierSQLite
Applies sync changes to SQLite database. Implements spec Section 11 (Bi-Directional Sync Protocol).
public static class ChangeApplierSQLite
Methods
ApplyChange(SqliteConnection, SyncLogEntry)
public static Result<bool, SyncError> ApplyChange(SqliteConnection connection, SyncLogEntry entry)
Applies a single sync log entry to the database. Returns true on success, false on FK violation (for defer/retry).
Parameters:
| Name | Type | Description |
|---|---|---|
connection |
SqliteConnection |
SQLite connection. |
entry |
SyncLogEntry |
The sync log entry to apply. |
Returns: SyncError> - True if applied, false if FK violation, or error.