Ejemplo n.º 1
0
 public MigrationService(IVersionDataSource versionDataSource)
 {
     Trace.WriteLineIf(ts.TraceInfo, "MigrationService - CTOR - Start");
     this.versionDataSource = versionDataSource;
     this.Migrations = new List<IMigration>();
     Trace.WriteLineIf(ts.TraceInfo, "MigrationService - CTOR - End");
 }
Ejemplo n.º 2
0
 public void SetUp()
 {
     versionDataSource = new StubVersionDataSource();
     versionDataSource.SetVersionNumber(0);
     this.runner = new MigrationService(versionDataSource);
 }