Exemplo n.º 1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
Exemplo n.º 2
0
 public EscolaRepositorioLeitura(ProjetoEscolaContext context) : base(context)
 {
 }
Exemplo n.º 3
0
 public UnitOfWork(ProjetoEscolaContext context)
 {
     _context = context;
 }
 public EscolaRepositorioEscrita(ProjetoEscolaContext context) : base(context)
 {
 }
Exemplo n.º 5
0
 public RepositorioEscritaBase(ProjetoEscolaContext context)
 {
     dbContext = context;
     dbSet     = context.Set <TEntity>();
 }