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; }
public ProfessorForaSedeController(ProfessorIESContext _professorContext, CampusContext _campusContext, RegimeContext _regimeContext, IConfiguration _configuration) { if (dicProfessorCampus == null) { dicProfessorCampus = CampusProfessor.getCampusProfessor(_configuration); } this.Configuration = _configuration; this.CampusContext = _campusContext; this.ProfessorIESContext = _professorContext; this.RegimeContext = _regimeContext; }
public RedisService(IConfiguration config, ProfessorContext Context, RegimeContext RegContext, CensoContext Censocontext, CampusContext campusContext, ProfessorMatriculaContext _matContext) { // ctor da classe _redisHost = config["Redis:Host"]; _redisPort = Convert.ToInt32(config["Redis:Port"]); this.regContext = RegContext; this.context = Context; }
public ProfessorController(ProfessorContext Context, RegimeContext RegContext, CensoContext Censocontext, CampusContext campusContext, ProfessorMatriculaContext _matContext) { this.context = Context; this.regContext = RegContext; this.MatriculaContext = _matContext; this.censocontext = Censocontext; this.CampusContext = campusContext; this.context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; this.regContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; this.censocontext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; this.MatriculaContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
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 RegulatorioController(ProfessorIESContext Context , ProfessorContext ProfContext , RegimeContext regimeContext , CensoContext CContext , CargaContext cargaContext , CampusContext _campusContext , ProfessorMatriculaContext _matContext , IConfiguration _configuration) { if (dicProfessorCampus == null) { dicProfessorCampus = CampusProfessor.getCampusProfessor(_configuration); } this.Context = Context; this.Profcontext = ProfContext; this.RegContext = regimeContext; this.CContext = CContext; this.CgContext = cargaContext; this.CampusContext = _campusContext; this.MatriculaContext = _matContext; this.listaForaSede = new List <string>() { "4" , "5" , "7" , "8" , "33" , "42" , "43" , "44" , "49" , "51" , "52" , "61" , "67" , "297" , "301" , "564" , "720" , "721" , "1002" }; }
public ProfessorIESController(ProfessorIESContext Context, RegimeContext RegContext) { this.context = Context; this.regContext = RegContext; }