コード例 #1
0
ファイル: ManterAluno.cs プロジェクト: nogueiraever/SGP
 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));
 }
コード例 #2
0
 public RepositorioAluno(SgpContext conexao) : base(conexao)
 {
 }
コード例 #3
0
ファイル: RepositorioBase.cs プロジェクト: nogueiraever/SGP
 protected RepositorioBase(SgpContext database)
 {
     this.database = database;
 }
コード例 #4
0
 public void Setup()
 {
     conexao = ObterConexao();
 }
コード例 #5
0
 public RepositorioProfessor(SgpContext conexao) : base(conexao)
 {
 }