예제 #1
0
 public Otimizacao(TempProducaoContext _resultContext,
                   CensoContext _context,
                   CargaContext _cargaContext,
                   ProfessorAddContext _ProfessorAddContext,
                   IConfiguration _configuration)
 {
     this.ResultContext       = _resultContext;
     this.Context             = _context;
     this.CargaContext        = _cargaContext;
     this.ProfessorAddContext = _ProfessorAddContext;
     this.Configuration       = _configuration;
 }
예제 #2
0
 public ExportacaoController(ProfessorContext _context, ExportacaoContext _expContext, ProfessorContext _profContext
                             , RegimeContext _regContext, CensoContext _ccontext
                             , TempProducaoContext _producaoContext
                             , IConfiguration _configuration)
 {
     this.Context    = _context;
     this.ExpContext = _expContext;
     this.ExpContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;;
     this.Profcontext     = _profContext;
     this.RegContext      = _regContext;
     this.CContext        = _ccontext;
     this.ProducaoContext = _producaoContext;
     this.Configuration   = _configuration;
 }
 public CursoEmecController(CensoContext _context,
                            ProfessorIESContext _profcontext,
                            IConfiguration _configuration,
                            IOtimizacao _otm,
                            CursoEnquadramentoContext _cursoEnquadContext,
                            TempProducaoContext _producaoContext,
                            RedisService _redisService)
 {
     this.Redis                     = _redisService;
     this.Context                   = _context;
     this.ProfContext               = _profcontext;
     this.Configuration             = _configuration;
     this.CursoEnquadramentoContext = _cursoEnquadContext;
     this.Otm             = _otm;
     this.ProducaoContext = _producaoContext;
     this.Context.ChangeTracker.QueryTrackingBehavior     = QueryTrackingBehavior.NoTracking;
     this.ProfContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     this.CursoEnquadramentoContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     this.ProducaoContext.ChangeTracker.QueryTrackingBehavior           = QueryTrackingBehavior.NoTracking;
 }
예제 #4
0
 public Otimizacao(TempProducaoContext _resultContext, CensoContext _context, CargaContext _cargaContext)
 {
     this.ResultContext = _resultContext;
     this.Context       = _context;
     this.CargaContext  = _cargaContext;
 }
예제 #5
0
 public ValuesController(TempProducaoContext _producaoContext)
 {
     this.ProducaoContext = _producaoContext;
 }