コード例 #1
0
 public AccountRepository(RivaIdentityDbContext context, IMapper mapper,
                          IOrderByExpressionCreator <AccountEntity> orderByExpressionCreator)
 {
     _context = context;
     _dbSet   = context.Set <AccountEntity>();
     _mapper  = mapper;
     _orderByExpressionCreator = orderByExpressionCreator;
 }
コード例 #2
0
 public RoleRepository(RivaIdentityDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
     _dbSet   = context.Set <RoleEntity>();
 }