예제 #1
0
 public Configure GetKPIShowFields()
 {
     try
     {
         ConfigureFactory configFac = new ConfigureFactory(_connectionString);
         return(configFac.GetConfigByName("KPI_SHOW_FIELDS"));
     }
     catch (System.Exception ex)
     {
         // Need a KPIger
         throw ex;
     }
 }
예제 #2
0
 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;
     }
 }