Ejemplo n.º 1
0
 public Repository(ContaCorrenteContext contaCorrenteContext)
 {
     _contaCorrenteContext = contaCorrenteContext;
     _dbSet = _contaCorrenteContext.Set <TEntity>();
 }
Ejemplo n.º 2
0
 protected Repository(ContaCorrenteContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }