예제 #1
0
 public static BaseDALPool Instance()
 {
     if (baseDalPool ==null)
     {
         baseDalPool = new BaseDALPool();
     }
     return baseDalPool;
 }
예제 #2
0
 public static BaseDALPool Instance()
 {
     if (baseDalPool == null)
     {
         baseDalPool = new BaseDALPool();
     }
     return(baseDalPool);
 }
예제 #3
0
 public PoolUtil()
 {
     unit = BaseDALPool.Instance().GetValidDal();
     if (unit != null)
     {
         dalBase = unit.baseDal;
     }
     else
     {
         //这里应该要有忙碌的处理
     }
 }