public GenericRepository(DataEntities context)
 {
     this.Context = context;
     this.DbSet   = context.Set <TEntity>();
 }
Ejemplo n.º 2
0
 public UnitOfWork()
 {
     _context = new DataEntities();
 }