Language

IQueryableRoleStore<TRole, TKey> Interface

 

Defines the members for a queryable role store.

Namespace:   Microsoft.AspNet.Identity Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

public interface IQueryableRoleStore<TRole, in TKey> : IRoleStore<TRole, TKey>,
    IDisposable
where TRole : object, IRole<TKey>
generic<typename TRole, typename TKey>
where TRole : Object, IRole<TKey>
public interface class IQueryableRoleStore : IRoleStore<TRole, TKey>,
    IDisposable
type IQueryableRoleStore<'TRole, 'TKey when 'TRole : Object and IRole<'TKey>> =
    interface
        interface IRoleStore<'TRole, 'TKey>
        interface IDisposable
    end
Public Interface IQueryableRoleStore(Of TRole As { Object, IRole(Of TKey) }, In TKey)
    Inherits IRoleStore(Of TRole, TKey), IDisposable

Type Parameters

  • TRole The type of role.
  • in TKey The type of the key.

Properties

Name Description
Roles Gets the IQueryable roles.

Methods

Name Description
CreateAsync(TRole) Asynchronously creates a new role.(Inherited from IRoleStore<TRole, TKey>.)
DeleteAsync(TRole) Asynchronously deletes a role.(Inherited from IRoleStore<TRole, TKey>.)
Dispose() (Inherited from IDisposable.)
FindByIdAsync(TKey) Asynchronously finds a role by ID.(Inherited from IRoleStore<TRole, TKey>.)
FindByNameAsync(String) Asynchronously finds a role by name.(Inherited from IRoleStore<TRole, TKey>.)
UpdateAsync(TRole) Asynchronously updates a role.(Inherited from IRoleStore<TRole, TKey>.)

See Also

Microsoft.AspNet.Identity Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top