コード例 #1
0
        // constructor
        public ProductInfoController()
        {
            objectProvider = objectProvider == null ? new ObjectProvider() : objectProvider;
            unitOfWorkExt  = unitOfWorkExt == null ? objectProvider.UnitOfWorkBcmyExternal : unitOfWorkExt;

            productInfoViewRepository  = productInfoViewRepository == null ? unitOfWorkExt.ProductInfoViewRepository : productInfoViewRepository;
            productConditionRepository = productConditionRepository == null ? unitOfWorkExt.ProductConditionRepository : productConditionRepository;
            productBrandRepository     = productBrandRepository == null ? unitOfWorkExt.ProductBrandRepository : productBrandRepository;
            productCategoryRepository  = productCategoryRepository == null ? unitOfWorkExt.ProductCategoryRepository : productCategoryRepository;
        }
コード例 #2
0
 /// <summary>
 /// constructor
 /// </summary>
 public ExternalProductsTesting()
 {
     objectProvider            = new ObjectProvider();
     unitOfWorkExt             = objectProvider.UnitOfWorkBcmyExternal;
     productInfoViewRepository = unitOfWorkExt.ProductInfoViewRepository;
 }