private void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public AgenciaRepository(SystradeCadastroContext context) : base(context) { cn = _context.Database.Connection; }
public UnitOfWork(SystradeCadastroContext context) { _context = context; }
public EnderecoRepository(SystradeCadastroContext context) : base(context) { cn = _context.Database.Connection; }
public Repository(SystradeCadastroContext contex) { _context = contex; DbSet = _context.Set <TEntity>(); }
public RegistroUsuarioRepository(SystradeCadastroContext context) : base(context) { cn = _context.Database.Connection; }