/// <summary> /// Creates all instances of DBVersion from provided DBVersionSystem /// </summary> public DBVersionSystemRunner CreateAllVersionsInDB(DBVersionRepository system) { DBVersionSystemRunner runner = new DBVersionSystemRunner(); foreach(IDBVersionInformation info in system.VersionsTable.Values) { runner.CreateVersionInDB(info); } return this; }
/// <summary> /// Creates all instances of DBVersion from provided DBVersionSystem /// </summary> public DBVersionSystemRunner CreateAllVersionsInDB(DBVersionRepository system) { DBVersionSystemRunner runner = new DBVersionSystemRunner(); foreach (IDBVersionInformation info in system.VersionsTable.Values) { runner.CreateVersionInDB(info); } return(this); }