Table of Contents

Class RoleStore<TKey, TRole>

Namespace
LinqToDB.Identity
Assembly
LinqToDB.Identity.dll

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
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 IConnectionFactory

IConnectionFactory

describer IdentityErrorDescriber

The IdentityErrorDescriber.