IdentityUserContext<TUser> Class

Definition

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

Constructors

IdentityUserContext<TUser>()

Initializes a new instance of the IdentityUserContext<TUser> class.

IdentityUserContext<TUser>(DbContextOptions)

Initializes a new instance of IdentityUserContext<TUser>.

Properties

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>)

Applies to