public Configure GetKPIShowFields() { try { ConfigureFactory configFac = new ConfigureFactory(_connectionString); return(configFac.GetConfigByName("KPI_SHOW_FIELDS")); } catch (System.Exception ex) { // Need a KPIger throw ex; } }
public bool UpdateKPIShowFields(string fields) { try { ConfigureFactory configFac = new ConfigureFactory(_connectionString); var config = configFac.GetConfigByName("KPI_SHOW_FIELDS"); config.config_value = fields; return(configFac.Update(config)); } catch (System.Exception ex) { // Need a KPIger throw ex; } }