示例#1
0
 /// <summary>
 /// This sets up the data. This is data that is expected by the system.
 /// </summary>
 public void InitializeDb()
 {
     SalesmanCategoryBiz.InitializationData();
     VehicalTypeBiz.VehicalTypeDefaultItems();
     ProductBiz.InitializationData();
     //ProductChildBiz.InitializationData();
 }
示例#2
0
文件: Fix.cs 项目: dovanduy/Library
        /// <summary>
        /// This gets the super salesman category.
        /// </summary>
        /// <returns></returns>
        private SalesmanCategory getSuperSalesmanCategory()
        {
            SalesmanCategory sc = SalesmanCategoryBiz.FindByName(SalesmanCategoryENUM.SuperSalesman.ToString().ToTitleSentance());

            sc.IsNullThrowException();
            return(sc);
        }
示例#3
0
        //PersonBiz _personBiz;

        public SalesmanBiz(IRepositry <Salesman> entityDal, BizParameters bizParameters, SalesmanCategoryBiz salesmanCategoryBiz, AddressBiz addressBiz, CashTrxBiz cashTrxBiz)
            : base(entityDal, bizParameters, addressBiz, cashTrxBiz)
        {
            //_personBiz = personBiz;
            _salesmanCategoryBiz = salesmanCategoryBiz;
        }