Esempio n. 1
0
 public ManterAluno(IRepositorioAluno repositorioAluno,
                    IRepositorioProfessor repositorioProfessor,
                    SgpContext database)
 {
     this.repositorioAluno     = repositorioAluno ?? throw new System.ArgumentNullException(nameof(repositorioAluno));
     this.repositorioProfessor = repositorioProfessor ?? throw new System.ArgumentNullException(nameof(repositorioProfessor));
     this.database             = database ?? throw new System.ArgumentNullException(nameof(database));
 }
Esempio n. 2
0
 public RepositorioAluno(SgpContext conexao) : base(conexao)
 {
 }
Esempio n. 3
0
 protected RepositorioBase(SgpContext database)
 {
     this.database = database;
 }
 public void Setup()
 {
     conexao = ObterConexao();
 }
Esempio n. 5
0
 public RepositorioProfessor(SgpContext conexao) : base(conexao)
 {
 }