예제 #1
0
 public static void LoadAllCodeToMemory()
 {
     lock (s_lockerAllCode)
     {
         var ds = AllCodeDA.GetAllInAllCode();
         s_allCodeCollectionInMemory = CBO <AllCodeInfo> .FillCollectionFromDataSet(ds);
     }
 }
예제 #2
0
 public List <AllCodeInfo> AllCode_Gets_List()
 {
     try
     {
         DataSet _ds = AllCodeDA.GetAllInAllCode();
         return(CBO <AllCodeInfo> .FillCollectionFromDataSet(_ds));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(new List <AllCodeInfo>());
     }
 }