UserStore<TUser,TRole,TContext,TKey> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a new instance of a persistence store for the specified user and role types.
generic <typename TUser, typename TRole, typename TContext, typename TKey>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>public ref class UserStore : Microsoft::AspNetCore::Identity::EntityFrameworkCore::UserStore<TUser, TRole, TContext, TKey, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserClaim<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserRole<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserLogin<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserToken<TKey> ^>
generic <typename TUser, typename TRole, typename TContext, typename TKey>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>public ref class UserStore : Microsoft::AspNetCore::Identity::EntityFrameworkCore::UserStore<TUser, TRole, TContext, TKey, Microsoft::AspNetCore::Identity::IdentityUserClaim<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserRole<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserLogin<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserToken<TKey> ^, Microsoft::AspNetCore::Identity::IdentityRoleClaim<TKey> ^>
public class UserStore<TUser,TRole,TContext,TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser,TRole,TContext,TKey,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<TKey>> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>
public class UserStore<TUser,TRole,TContext,TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser,TRole,TContext,TKey,Microsoft.AspNetCore.Identity.IdentityUserClaim<TKey>,Microsoft.AspNetCore.Identity.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.IdentityUserLogin<TKey>,Microsoft.AspNetCore.Identity.IdentityUserToken<TKey>,Microsoft.AspNetCore.Identity.IdentityRoleClaim<TKey>> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>
type UserStore<'User, 'Role, 'Context, 'Key (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)> = class
inherit UserStore<'User, 'Role, 'Context, 'Key, IdentityUserClaim<'Key>, IdentityUserRole<'Key>, IdentityUserLogin<'Key>, IdentityUserToken<'Key> (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)>
type UserStore<'User, 'Role, 'Context, 'Key (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)> = class
inherit UserStore<'User, 'Role, 'Context, 'Key, IdentityUserClaim<'Key>, IdentityUserRole<'Key>, IdentityUserLogin<'Key>, IdentityUserToken<'Key>, IdentityRoleClaim<'Key> (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)>
Public Class UserStore(Of TUser, TRole, TContext, TKey)
Inherits UserStore(Of TUser, TRole, TContext, TKey, IdentityUserClaim(Of TKey), IdentityUserRole(Of TKey), IdentityUserLogin(Of TKey), IdentityUserToken(Of TKey))
Public Class UserStore(Of TUser, TRole, TContext, TKey)
Inherits UserStore(Of TUser, TRole, TContext, TKey, IdentityUserClaim(Of TKey), IdentityUserRole(Of TKey), IdentityUserLogin(Of TKey), IdentityUserToken(Of TKey), IdentityRoleClaim(Of TKey))
Type Parameters
- TUser
The type representing a user.
- TRole
The type representing a role.
- TContext
The type of the data context class used to access the store.
- TKey
The type of the primary key for a role.
- Inheritance
-
UserStore<TUser,TRole,TContext,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>>UserStore<TUser,TRole,TContext,TKey>
- Inheritance
-
UserStore<TUser,TRole,TContext,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>,IdentityRoleClaim<TKey>>UserStore<TUser,TRole,TContext,TKey>
- Derived
Constructors
UserStore<TUser,TRole,TContext,TKey>(TContext, IdentityErrorDescriber) |
Constructs a new instance of UserStore<TUser,TRole,TContext,TKey>. |
Properties
AutoSaveChanges |
Gets or sets a flag indicating if changes should be persisted after CreateAsync, UpdateAsync and DeleteAsync are called. (Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |
Context |
Gets the database context for this store. (Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |
Users |
A navigation property for the users the store contains. (Inherited from UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |