Dela via


IQueryableRoleStore<TRole> Interface

Definition

Provides an abstraction for querying roles in a Role store.

generic <typename TRole>
 where TRole : classpublic interface class IQueryableRoleStore : IDisposable, Microsoft::AspNetCore::Identity::IRoleStore<TRole>
public interface IQueryableRoleStore<TRole> : IDisposable, Microsoft.AspNetCore.Identity.IRoleStore<TRole> where TRole : class
type IQueryableRoleStore<'Role (requires 'Role : null)> = interface
    interface IRoleStore<'Role (requires 'Role : null)>
    interface IDisposable
Public Interface IQueryableRoleStore(Of TRole)
Implements IDisposable, IRoleStore(Of TRole)

Type Parameters

TRole

The type encapsulating a role.

Derived
Implements

Properties

Roles

Returns an IQueryable<T> collection of roles.

Methods

CreateAsync(TRole, CancellationToken)

Creates a new role in a store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
DeleteAsync(TRole, CancellationToken)

Deletes a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
FindByIdAsync(String, CancellationToken)

Finds the role who has the specified ID as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
FindByNameAsync(String, CancellationToken)

Finds the role who has the specified normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetNormalizedRoleNameAsync(TRole, CancellationToken)

Get a role's normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetRoleIdAsync(TRole, CancellationToken)

Gets the ID for a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetRoleNameAsync(TRole, CancellationToken)

Gets the name of a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
SetNormalizedRoleNameAsync(TRole, String, CancellationToken)

Set a role's normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
SetRoleNameAsync(TRole, String, CancellationToken)

Sets the name of a role in the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
UpdateAsync(TRole, CancellationToken)

Updates a role in a store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)

Applies to