I just added a quick feature to my code generator that looks like this:
this.SyncDatabase(true);
this.AutoConfigAll(true);
this.MakeViews(true, false);
this.AutoConfigAll(true);
this.RecreateViews(true, false);
this.SyncDatabase(true);
this.AutoConfigAll(true);
this.Project.RunTransforms(TransformType.DataAccess);
this.SyncDatabase(true);
this.AutoConfigAll(true);
this.Project.RunTransforms(TransformType.DataTier);
this.Project.RunTransforms(TransformType.BusinessTier);
this.Project.RunTransforms(TransformType.PresentationTier);
this.Project.RunTransforms(TransformType.CompleteSchema);
It's a bit of a hack.. but the feature is aptly named!
I always wanted to have a menu item that said “MAKE IT SO!“, and now I do. :)
John.