blog.jj5.net (2003 to 2005)

MAKE IT SO!

Wed Jun 30 12:38:00 UTC+1000 2004

Categories:

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.


Copyright © 2003-2005 John Elliot