public static DbSet <Professor> getProfessores(ProfessorContext _context) { var results = _context.Professores; return(results); }
public ProfessorApplyService(ProfessorContext professorContext) { _context = professorContext; }
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 ProfessorRepository(ProfessorContext professorContext) { _context = professorContext; }
public ProfessorModel(ProfessorContext context, ILogger <ProfessorModel> logger) { _context = context; _logger = logger; }
public AddCourseModel(ProfessorContext context, ILogger <AddCourseModel> logger) { // Bring in Database context and logger using dependency injection _context = context; _logger = logger; }
public ValuesController(ProfessorContext context) { this.Context = context; }
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; }