// public CursoCensoContext CursoCensoContext { get; set; } public CursoEmecController(CensoContext _context, ProfessorIESContext _profcontext, IConfiguration _configuration, IOtimizacao _otm, CursoEnquadramentoContext _cursoEnquadContext, TempProducaoContext _producaoContext) { 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; }
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 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; }
public static DbSet <ProfessorIes> getProfessoresIES(ProfessorIESContext _context) { var results = _context.ProfessorIES; return(results); }