예제 #1
0
 /// <summary>
 /// Seeds all points of the migrator
 /// </summary>
 /// <param name="migrator">The migrator</param>
 private void Seed(IMigrator migrator)
 {
     foreach (var resource in migrator.GetMigratableResources())
     {
         Console.WriteLine($@"MockResourceSeeder: migrating {resource.Code}");
         foreach (var log in migrator.Migrate(resource, migrator.LatestPoint))
         {
             Console.WriteLine(log);
         }
     }
 }