public MigrationPair( [NotNull] Migration localMigration, [CanBeNull] HistoryRow historyRow) { Check.NotNull(localMigration, "localMigration"); LocalMigration = localMigration; HistoryRow = historyRow; }
public virtual IReadOnlyList <HistoryRow> GetRows([NotNull] out bool historyTableExists) { IReadOnlyList <HistoryRow> rows; try { rows = GetRows(); historyTableExists = true; } catch (DbException) { // TODO: Log the exception message. rows = new HistoryRow[0]; historyTableExists = false; } return(rows); }