Esempio n. 1
0
 public ProcessTaskStore(BpmDbContext context, IUser user, ITenant tenant)
 {
     Context               = context;
     TenantId              = tenant == null ? null : tenant.TenantId;
     User                  = user;
     TaskStore             = new EntityStore <ProcessTaskEntity>(context);
     ProcessVariableEntity = context.Set <ProcessVariableEntity>();
 }
Esempio n. 2
0
 public ProcessDefinitionStore(BpmDbContext context)
 {
     Context             = context;
     deploymentStore     = new EntityStore <DeploymentEntity>(context);
     definitionStore     = new EntityStore <DefinitionEntity>(context);
     flowNodeStore       = new EntityStore <FlowNodeEntity>(context);
     sequenceFlowStore   = new EntityStore <SequenceFlowEntity>(context);
     definitionItemStore = new EntityStore <DefinitionItemEntity>(context);
     processStore        = new EntityStore <ProcessDefinitionEntity>(context);
 }
Esempio n. 3
0
 public ProcessInstanceStore(BpmDbContext context, IUser user, ITenant tenant)
 {
     Context               = context;
     TenantId              = tenant == null ? null : tenant.TenantId;
     User                  = user;
     processInstanceStore  = new EntityStore <ProcessInstanceEntity>(context);
     processFlowStore      = new EntityStore <ProcessFlowEntity>(context);
     processTaskStore      = new EntityStore <ProcessTaskEntity>(context);
     processEntity         = context.Set <ProcessDefinitionEntity>();
     flowNodeEntity        = context.Set <FlowNodeEntity>();
     sequenceEntity        = context.Set <SequenceFlowEntity>();
     processVariableEntity = context.Set <ProcessVariableEntity>();
 }