RoleStore<TRole> Class
Represents an Entity Framework implementation of a role store.
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Microsoft.AspNet.Identity.EntityFramework.RoleStore<TRole, TKey, TUserRole>
Microsoft.AspNet.Identity.EntityFramework.RoleStore<TRole>
| Name | Description | |
|---|---|---|
![]() | RoleStore<TRole>() | Initializes a new instance of the RoleStore<TRole> class. |
![]() | RoleStore<TRole>(DbContext) | Initializes a new instance of the RoleStore<TRole> class. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the context for the store.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | DisposeContext | Gets or sets a value that indicates whether to call dispose on the DbContext during Dispose.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | Roles | Gets an IQueryable<T> of users.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
| Name | Description | |
|---|---|---|
![]() | CreateAsync(TRole) | Asynchronously inserts an entity.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | DeleteAsync(TRole) | Asynchronously marks an entity for deletion.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | Dispose() | Releases all resources used by the current instance of the RoleStore<TRole, TKey, TUserRole>.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the RoleStore<TRole, TKey, TUserRole> class and optionally releases the managed resources.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindByIdAsync(TKey) | Asynchronously finds a role by using the specified identifier.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | FindByNameAsync(String) | Asynchronously finds a role by name.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | UpdateAsync(TRole) | Asynchronously updates an entity.(Inherited from RoleStore<TRole, TKey, TUserRole>.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


