コード例 #1
0
 /// <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;
 }
コード例 #2
0
        /// <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);
        }