Ejemplo n.º 1
0
 public BaseRepository()
 {
     _dbSet = _dbContext.Set <TEntity>();
 }
Ejemplo n.º 2
0
 public BaseRepository()
 {
     dbSet = dbcontext.Set <TEntity>();//构造一个实体集
 }
Ejemplo n.º 3
0
 public BaseRepository()
 {
     dbset = ws.Set <TEntity>();//构造一个实体集
 }