public ProductCategoryService(
     IScopeCreator scopeCreator,
     IEntityStorage <Order> orders,
     IEntityStorage <Product> products,
     IEntityStorage <Customer> customers,
     IEntityStorage <OrderDetails> orderDetails)
 {
     _orders       = orders;
     _products     = products;
     _customers    = customers;
     _scopeCreator = scopeCreator;
     _orderDetails = orderDetails;
 }
예제 #2
0
 public ScopedQueryCommandServiceDecorator(IQueryCommandService <TContext> decoratedQueryCommandService, IScopeCreator lifetimeScoper)
 {
     this._decoratedQueryCommandService = decoratedQueryCommandService;
     this._lifetimeScoper = lifetimeScoper;
 }