/// <summary> /// Gets the delete row command without adding rows in tracking table /// </summary> private DbCommand CreateDeleteCommand() { var stringBuilder = new StringBuilder(); stringBuilder.AppendLine($"DELETE FROM {tableName.Quoted()} "); stringBuilder.AppendLine($"WHERE {SqliteManagementUtils.WhereColumnAndParameters(this.TableDescription.PrimaryKeys, "")};"); return(new SqliteCommand(stringBuilder.ToString())); }
public override async Task <SyncSetup> GetAllTablesAsync(DbConnection connection, DbTransaction transaction = null) { var setup = await SqliteManagementUtils.GetAllTablesAsync(connection as SqliteConnection, transaction as SqliteTransaction).ConfigureAwait(false); return(setup); }