public void IniciarCenario() { _reforcoEFContexto = new ReforcoEFContexto(); Database.SetInitializer(new BaseSqlTeste()); _reforcoEFContexto.Database.Initialize(true); _materiaRepositorio = new MateriaRepositorioSQL(_reforcoEFContexto); _materia = new Materia(); }
public void IniciarCenario() { _reforcoEFContexto = new ReforcoEFContexto(); Database.SetInitializer(new BaseSqlTeste()); _reforcoEFContexto.Database.Initialize(true); _alunoRepositorio = new AlunoRepositorioSQL(_reforcoEFContexto); _aluno = new Aluno(); _endereco = ObjectMother.ObterEnderecoValido(); }
public AlunoRepositorioSQL(ReforcoEFContexto reforcoEFContexto) { _reforcoEFContexto = reforcoEFContexto; }
public ResultadoRepositorioSQL(ReforcoEFContexto reforcoEFContexto) { _reforcoEFContexto = reforcoEFContexto; }
public MateriaRepositorioSQL(ReforcoEFContexto reforcoEFContexto) { _reforcoEFContexto = reforcoEFContexto; }