示例#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>();
 }
示例#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);
 }
 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>();
 }