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