示例#1
0
 public GenericRepository(EFDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
示例#2
0
 public EfUserRepository(EFDbContext context)
 {
     this.context = context;
 }