public ORD_QuotaBLL(int id, bool bycache)
     : base(DALClassName)
 {
     _dal = (ORD_QuotaDAL)_DAL;
     FillModel(id, bycache);
 }
 ///<summary>
 ///ORD_QuotaBLL
 ///</summary>
 public ORD_QuotaBLL()
     : base(DALClassName)
 {
     _dal = (ORD_QuotaDAL)_DAL;
     _m   = new ORD_Quota();
 }
 public ORD_QuotaBLL(int id)
     : base(DALClassName)
 {
     _dal = (ORD_QuotaDAL)_DAL;
     FillModel(id);
 }
        /// <summary>
        /// 将下游客户的配额汇总至上级客户
        /// </summary>
        /// <param name="Supplier"></param>
        /// <param name="AccountMonth"></param>
        /// <param name="OpUser"></param>
        /// <returns></returns>
        public static int SummaryToSupplier(int Supplier, int AccountMonth, Guid OpUser)
        {
            ORD_QuotaDAL dal = (ORD_QuotaDAL)DataAccess.CreateObject(DALClassName);

            return(dal.SummaryToSupplier(Supplier, AccountMonth, OpUser));
        }