public static DataTable GetByDateRegion(DateTime Begindate, DateTime EndDate)
        {
            AC_AccountMonthDAL dal = (AC_AccountMonthDAL)DataAccess.CreateObject(DALClassName);

            return(Tools.ConvertDataReaderToDataTable(dal.GetByDateRegion(Begindate, EndDate)));
        }
        public static DataTable GetAccountMonthByYear(int AccountYear)
        {
            AC_AccountMonthDAL dal = (AC_AccountMonthDAL)DataAccess.CreateObject(DALClassName);

            return(Tools.ConvertDataReaderToDataTable(dal.GetAccountMonthByYear(AccountYear)));
        }
        /// <summary>
        /// 获取指定日期所在的会计月
        /// </summary>
        /// <param name="date"></param>
        /// <returns></returns>
        public static int GetMonthByDate(DateTime date)
        {
            AC_AccountMonthDAL dal = (AC_AccountMonthDAL)DataAccess.CreateObject(DALClassName);

            return(dal.GetMonthByDate(date));
        }
 public AC_AccountMonthBLL(int id, bool bycache)
     : base(DALClassName)
 {
     _dal = (AC_AccountMonthDAL)_DAL;
     FillModel(id, bycache);
 }
 public AC_AccountMonthBLL(int id)
     : base(DALClassName)
 {
     _dal = (AC_AccountMonthDAL)_DAL;
     FillModel(id);
 }
 ///<summary>
 ///AC_AccountMonthBLL
 ///</summary>
 public AC_AccountMonthBLL()
     : base(DALClassName)
 {
     _dal = (AC_AccountMonthDAL)_DAL;
     _m   = new AC_AccountMonth();
 }