示例#1
0
        public FlowsParams(IServiceScopeFactory factory)
        {
            RE005Context context = factory.CreateScope().ServiceProvider.GetRequiredService <RE005Context>();

            Flows = context.Flows
                    .Include(a => a.StepsByFlows)
                    .ThenInclude(a => a.IdStepNavigation)
                    .ThenInclude(a => a.FieldsBySteps)
                    .ThenInclude(a => a.IdFieldNavigation)
                    .ToList();
        }
示例#2
0
 public FlowExec(IFlowsParams flowsParams, RE005Context context, IHttpClientFactory clientFactory)
 {
     _flowsParams = flowsParams;
     _context = context;
     _clientFactory = clientFactory;
 }