Esempio n. 1
0
 public ExportacaoController(ProfessorContext _context, ExportacaoContext _expContext, ProfessorContext _profContext, RegimeContext _regContext)
 {
     this.Context    = _context;
     this.ExpContext = _expContext;
     this.ExpContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;;
     this.Profcontext = _profContext;
     this.RegContext  = _regContext;
 }
Esempio n. 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;
 }