Example #1
0
 public static VInfoDAL GetObj()
 {
     if (obj == null)
     {
         lock (lockObj)
         {
             if (obj == null)
             {
                 obj = new VInfoDAL();
             }
         }
     }
     return(obj);
 }
Example #2
0
        public List <VInfoEntity> QueryByMonth(DateTime month)
        {
            var date = new DateTime(month.Year, month.Month, 1);

            return(VInfoDAL.GetObj().QueryMoney(date, date.AddMonths(1)));
        }