Пример #1
0
 public RuleFactory(IUserSession userContext, IGCloudUnitOfWork context)
 {
     _readContext   = context;
     _userContext   = userContext;
     _activityRules = new List <IRuleActivity>
     {
         new CustomerTenantRule(userContext, _readContext),
         new CustomerAtomicityRule()
     };
 }
Пример #2
0
 public CreateCustomer(IUserSession userSession, IGCloudUnitOfWork context)
 {
     UserSession = userSession;
     _context    = context;
 }
 public BreezeServiceFactory(IUserSession userSession, IGCloudUnitOfWork readContext)
 {
     _userSession          = userSession;
     _readInventoryContext = readContext;
 }
Пример #4
0
 public CustomerTenantRule(IUserSession userContext, IGCloudUnitOfWork context)
 {
     _userSession = userContext;
     _context     = context;
 }