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