IdentityUserContext<TUser> 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.
Base class for the Entity Framework database context used for identity.
generic <typename TUser>
where TUser : IdentityUserpublic ref class IdentityUserContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserContext<TUser, System::String ^>
public class IdentityUserContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext<TUser,string> where TUser : IdentityUser
type IdentityUserContext<'User (requires 'User :> IdentityUser)> = class
inherit IdentityUserContext<'User, string (requires 'User :> IdentityUser)>
Public Class IdentityUserContext(Of TUser)
Inherits IdentityUserContext(Of TUser, String)
Type Parameters
- TUser
The type of the user objects.
- Inheritance
-
IdentityUserContext<TUser,TKey,IdentityUserClaim<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>>IdentityUserContext<TUser,String>IdentityUserContext<TUser>
Constructors
IdentityUserContext<TUser>() |
Initializes a new instance of the IdentityUserContext<TUser> class. |
IdentityUserContext<TUser>(DbContextOptions) |
Initializes a new instance of IdentityUserContext<TUser>. |
Properties
SchemaVersion |
Gets the schema version used for versioning. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
UserClaims |
Gets or sets the DbSet<TEntity> of User claims. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
UserLogins |
Gets or sets the DbSet<TEntity> of User logins. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
Users |
Gets or sets the DbSet<TEntity> of Users. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
UserTokens |
Gets or sets the DbSet<TEntity> of User tokens. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |
Methods
OnModelCreating(ModelBuilder) |
Configures the schema needed for the identity framework. (Inherited from IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>) |