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