Esempio n. 1
0
		static IDataBossMigration MakeDirectoryMigration(DataBossMigrationPath x) {
			return new DataBossDirectoryMigration(
				x.Path, new DataBossMigrationInfo {
					Id = 0,
					Context = x.Context,
					Name = x.Path,
				}
			);
		}
Esempio n. 2
0
		public static IDataBossMigration GetTargetMigration(DataBossMigrationPath[] migrations) {
			return new DataBossCompositeMigration(migrations.ConvertAll(MakeDirectoryMigration));
		}