示例#1
0
        public SupplierController(IMSupplierRepository mSupplierRepository, IRefAddressRepository refAddressRepository)
        {
            Check.Require(mSupplierRepository != null, "mSupplierRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");

            this._mSupplierRepository  = mSupplierRepository;
            this._refAddressRepository = refAddressRepository;
        }
        public PartnerController(IMPartnerRepository mPartnerRepository, IRefAddressRepository refAddressRepository)
        {
            Check.Require(mPartnerRepository != null, "mPartnerRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");

            _mPartnerRepository   = mPartnerRepository;
            _refAddressRepository = refAddressRepository;
        }
示例#3
0
        public CustomerController(IMCustomerRepository mCustomerRepository, IRefAddressRepository refAddressRepository, IRefPersonRepository refPersonRepository)
        {
            Check.Require(mCustomerRepository != null, "mCustomerRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");
            Check.Require(refPersonRepository != null, "refPersonRepository may not be null");

            this._mCustomerRepository  = mCustomerRepository;
            this._refAddressRepository = refAddressRepository;
            this._refPersonRepository  = refPersonRepository;
        }
示例#4
0
        public WarehouseController(IMWarehouseRepository mWarehouseRepository, IRefAddressRepository refAddressRepository, IMEmployeeRepository mEmployeeRepository)
        {
            Check.Require(mWarehouseRepository != null, "mWarehouseRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");
            Check.Require(mEmployeeRepository != null, "mEmployeeRepository may not be null");

            this._mWarehouseRepository = mWarehouseRepository;
            this._refAddressRepository = refAddressRepository;
            this._mEmployeeRepository  = mEmployeeRepository;
        }
        public EmployeeController(IMEmployeeRepository mEmployeeRepository, IRefAddressRepository refAddressRepository, IRefPersonRepository refPersonRepository, IMDepartmentRepository mDepartmentRepository)
        {
            Check.Require(mEmployeeRepository != null, "mEmployeeRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");
            Check.Require(refPersonRepository != null, "refPersonRepository may not be null");
            Check.Require(mDepartmentRepository != null, "mDepartmentRepository may not be null");

            this._mEmployeeRepository   = mEmployeeRepository;
            this._refAddressRepository  = refAddressRepository;
            this._refPersonRepository   = refPersonRepository;
            this._mDepartmentRepository = mDepartmentRepository;
        }
        public WarehouseController(IMWarehouseRepository mWarehouseRepository, IRefAddressRepository refAddressRepository, IMEmployeeRepository mEmployeeRepository, IMCostCenterRepository mCostCenterRepository, IMAccountRefRepository mAccountRefRepository, IMAccountRepository mAccountRepository)
        {
            Check.Require(mWarehouseRepository != null, "mWarehouseRepository may not be null");
            Check.Require(refAddressRepository != null, "refAddressRepository may not be null");
            Check.Require(mEmployeeRepository != null, "mEmployeeRepository may not be null");
            Check.Require(mCostCenterRepository != null, "mCostCenterRepository may not be null");
            Check.Require(mAccountRefRepository != null, "mAccountRefRepository may not be null");
            Check.Require(mAccountRepository != null, "mAccountRepository may not be null");

            this._mWarehouseRepository  = mWarehouseRepository;
            this._refAddressRepository  = refAddressRepository;
            this._mEmployeeRepository   = mEmployeeRepository;
            this._mCostCenterRepository = mCostCenterRepository;
            this._mAccountRefRepository = mAccountRefRepository;
            this._mAccountRepository    = mAccountRepository;
        }