RoleStore<TRole, TContext, TKey>
RoleStore(DbContext)
RoleStore(TContext, IdentityErrorDescriber)
AutoSaveChanges
Context
DisposeContext
ErrorDescriber
Roles
AddClaimAsync(TRole, Claim, CancellationToken)
ConvertIdFromString(String)
ConvertIdToString(TKey)
CreateAsync(TRole)
CreateAsync(TRole, CancellationToken)
DeleteAsync(TRole)
DeleteAsync(TRole, CancellationToken)
Dispose()
Dispose(Boolean)
FindByIdAsync(TKey)
FindByIdAsync(String, CancellationToken)
FindByNameAsync(String)
FindByNameAsync(String, CancellationToken)
GetClaimsAsync(TRole, CancellationToken)
GetNormalizedRoleNameAsync(TRole, CancellationToken)
GetRoleIdAsync(TRole, CancellationToken)
GetRoleNameAsync(TRole, CancellationToken)
RemoveClaimAsync(TRole, Claim, CancellationToken)
SetNormalizedRoleNameAsync(TRole, String, CancellationToken)
SetRoleNameAsync(TRole, String, CancellationToken)
UpdateAsync(TRole)
UpdateAsync(TRole, CancellationToken)
net481
namespace Microsoft.AspNet.Identity.EntityFramework
{
public class RoleStore<TRole, TKey, TUserRole> : IQueryableRoleStore<TRole, TKey>, IRoleStore<TRole, TKey>, IDisposable
where TRole, new(), IdentityRole<TKey, TUserRole>
where TUserRole, new(), IdentityUserRole<TKey>
{
public Task<TRole> FindByNameAsync(string roleName);
}
}
| Upgrade Planner | 0.0 % Reference this API |
|---|---|
| .NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net481 | |
| Assembly | Microsoft.AspNet.Identity.EntityFramework , Version=2.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNet.Identity.EntityFramework (2.2.4) net45 |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API