/// <summary> /// Updates the sync log. /// </summary> protected void UpdateSyncLog() { SchemaCollection newTables = this.Sql.GetTables(); SchemaCollection newProcedures = this.Sql.GetStoredProcedure(); SchemaLogBuilder builder = new SchemaLogBuilder(this.appSettings.DBName); builder.Append(newTables); builder.Append(newProcedures); builder.Commit(this.appSettings.DirectoryPath); }
/// <summary> /// Reads the sync log. /// </summary> /// <returns>The sync log.</returns> protected SchemaCollection ReadSyncLog() { SchemaLogBuilder builder = new SchemaLogBuilder(this.appSettings.DirectoryPath, this.appSettings.DBName); return builder.ReadLog(); }