private void btnValidate_Click(object sender, EventArgs e) { DBGlobalService.FireClearError(); var conn = ConnectionManager.Get(DBGlobalService.ConnectionString); conn.Parse_TableRelation(this.textEditorControl.Text.Trim()); }
private void btnValidate_Click(object sender, EventArgs e) { DBGlobalService.FireClearError(); var conn = ConnectionManager.Get(DBGlobalService.ConnectionString); conn.Parse_TableStatus(_settings.Settings); }
private void ValidateModel_Click(object sender, EventArgs args) { DBGlobalService.FireClearError(); //validate cfg var conn = ConnectionManager.Get(this.ConncetionString); conn.Parse_TableRelation(this.dataInfo.TableRefMapping.Settings); conn.Parse_TableRepository(this.dataInfo.TableRepository.Settings); }
private void btnSave_Click(object sender, EventArgs e) { _tableRepository.Settings = this.textEditorControl.Text.Trim(); DBGlobalService.Save(); DBGlobalService.FireClearError(); var conn = ConnectionManager.Get(DBGlobalService.ConnectionString); conn.Parse_TableRepository(_tableRepository.Settings); ConnectionManager.Update(conn); }