Пример #1
0
 private void UpdateCurrentVersion(MigrationPlanStep step)
 {
     if (!step.ShouldUpdateVersion)
     {
         return;
     }
     if (step.Direction == Direction.Up)
     {
         _versionRepository.InsertVersion(step.MigrationInfo);
     }
     else
     {
         _versionRepository.RemoveVersion(step.MigrationInfo);
     }
 }