Class RoleStore<TRole>
Creates a new instance of a persistence store for roles.
public class RoleStore<TRole> : RoleStore<string, TRole>, IQueryableRoleStore<TRole>, IRoleClaimStore<TRole>, IRoleStore<TRole>, IDisposable where TRole : IdentityRole<string>
Type Parameters
TRole
The type of the class representing a role.
- Inheritance
-
RoleStore<TRole>
- Implements
-
IQueryableRoleStore<TRole>IRoleClaimStore<TRole>IRoleStore<TRole>
- Inherited Members
Constructors
RoleStore(IConnectionFactory, IdentityErrorDescriber)
Constructs a new instance of RoleStore<TKey, TRole>.
public RoleStore(IConnectionFactory factory, IdentityErrorDescriber describer = null)
Parameters
factory
IConnectionFactorydescriber
IdentityErrorDescriber