Esempio n. 1
0
 public void MyEducationInitialize()
 {
     _myEducationRepository         = new MyEducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationModuleRepository   = new MyEducationModuleRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationModuleFileRepository = new EducationModuleFileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationBL = new MyEducationImpl(_myEducationRepository, _myEducationModuleRepository, _educationModuleFileRepository);
 }
Esempio n. 2
0
 public void EducationModuleInitialize()
 {
     _educationModuleRepository = new EducationModuleRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationModuleBL         = new EducationModuleImpl(_educationModuleRepository);
     _fileTypeRepository        = new FileTypeRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _fileTypeBL = new FileTypeImpl(_fileTypeRepository);
     _educationModuleFileRepository = new EducationModuleFileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationModuleFileBL         = new EducationModuleFileImpl(_educationModuleFileRepository);
 }
 public void EducationInitialize()
 {
     _educationShoppingRepository = new EducationShoppingRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productShopping = new ProductShoppingRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productRepository = new ProductRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productShoppingTemp = new ProductShoppingTempRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _order = new OrderRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationShoppingTemp = new EducationShoppingTempRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationRepository = new MyEducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationModuleRepository = new MyEducationModuleRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _productQuantityRepository = new ProductQuantityRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationShoppingBL = new EducationShoppingImpl(_educationShoppingRepository, _order,
                                        _educationShoppingTemp, _myEducationRepository,
                                              _myEducationModuleRepository, _educationModuleFileRepository, _productShoppingTemp, _productShopping, _productQuantityRepository, _productRepository);
     _educationModuleFileRepository = new EducationModuleFileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory<HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
 }
 public ShippingPaymentImpl(IOrderRepository orderRepository
                            , IShippingPaymentRepository shippingPaymentRepository
                            , IMyEducationRepository myEducationRepository
                            , IEducationModuleFileRepository educationModuleFileRepository
                            , IMyEducationModuleRepository myEducationModuleRepository
                            , IEducationShoppingTempRepository educationShoppingTempRepository
                            , IEducationShoppingRepository educationShoppingRepository
                            , IProductShoppingRepository productShoppingRepository
                            , IProductShoppingTempRepository productShoppingTempRepository, IProductQuantityRepository productQuantityRepository
                            , IProductRepository productRepository)
 {
     _shippingPaymentRepository       = shippingPaymentRepository;
     _educationShoppingTempRepository = educationShoppingTempRepository;
     _educationShoppingRepository     = educationShoppingRepository;
     _productShoppingRepository       = productShoppingRepository;
     _orderRepository               = orderRepository;
     _myEducatoinBL                 = new MyEducationImpl(myEducationRepository, myEducationModuleRepository, educationModuleFileRepository);
     _educationShoppingTempBL       = new EducationShoppingTempImpl(_educationShoppingTempRepository, _productShoppingTempRepository, _myEducationRepository, _productRepository);
     _productShoppingTempRepository = productShoppingTempRepository;
     _productQuantityRepository     = productQuantityRepository;
     _productRepository             = productRepository;
 }
Esempio n. 5
0
 public MyEducationImpl(IMyEducationRepository myEducationRepository, IMyEducationModuleRepository myEducationModuleRepository, IEducationModuleFileRepository educationModuleFileRepository)
 {
     _myEducationRepository         = myEducationRepository;
     _myEducationModuleRepository   = myEducationModuleRepository;
     _educationModuleFileRepository = educationModuleFileRepository;
 }
Esempio n. 6
0
 public EducationShoppingImpl(IEducationShoppingRepository educationShoppingRepository, IOrderRepository orderRepository, IEducationShoppingTempRepository educationShoppingTempBL, IMyEducationRepository myEducationRepository, IMyEducationModuleRepository myEducationModuleRepository, IEducationModuleFileRepository educationModuleFileRepository, IProductShoppingTempRepository productShoppingTempRepository, IProductShoppingRepository productShoppingRepository, IProductQuantityRepository productQuantityRepository, IProductRepository productRepository)
 {
     _educationShoppingRepository   = educationShoppingRepository;
     _productShoppingTempRepository = productShoppingTempRepository;
     _productShoppingRepository     = productShoppingRepository;
     _orderRepository           = orderRepository;
     _educationShoppingTempBL   = new EducationShoppingTempImpl(educationShoppingTempBL, productShoppingTempRepository, myEducationRepository, _productRepository);
     _myEducatoinBL             = new MyEducationImpl(myEducationRepository, myEducationModuleRepository, educationModuleFileRepository);
     _productQuantityRepository = productQuantityRepository;
     _productRepository         = productRepository;
 }
Esempio n. 7
0
 public EducationModuleFileImpl(IEducationModuleFileRepository educationModuleFileRepository)
 {
     _educationModuleFileRepository = educationModuleFileRepository;
 }