private void Set(string cmd) { string[] var = cmd.Split('='); if (var.Length == 2) { mac.Set(var[0].Trim(), var[1].Trim()); } else { mac.Set(var[0].Trim(), ""); } }
public void SetCatalog() { // update the catalog mac.Set("$DBCATALOG$", db.GetCatalogName()); }
public BuildEngine() { mac = new Macros(); mac.Set("$DBSERVER$", "localhost"); mac.Set("$DBCATALOG$", "tempdb"); mac.Set("$DBTRUSTED$", "true"); mac.Set("$DBLOGIN$", ""); mac.Set("$DBPASSWORD$", ""); mac.Set("$VERBOSE$", "true"); mac.Set("$DBBVERSION$", "dbo.DBBVersion"); mac.Set("$DBBCHANGES$", "dbo.DBBChanges"); mac.Set("$PREPENDFILE$", "true"); mac.Set("$APPENDGO$", "true"); mac.Set("$RUNONCESKIP$", "false"); mac.Set("$VERSIONING$", "false"); }