Esempio n. 1
0
 /// <summary>
 /// Executes individual deployment steps to ensure that the database is ready for
 /// migration runs.
 /// </summary>
 public void Deploy()
 {
     using (IBootstrapper bootstrapper =
                this.bootstrapperFactory.CreateBootstrapper())
     {
         var context = new DeploymentContext();
         this.ExecuteDeploymentSteps(bootstrapper, context);
         context.Validate();
         this.CreateOrUpdateAssets(bootstrapper, context);
     }
 }