IdentityDbContext IdentityDbContext IdentityDbContext IdentityDbContext Class

Definition

Base class for the Entity Framework database context used for identity.

public ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<Microsoft::AspNetCore::Identity::IdentityUser ^, Microsoft::AspNetCore::Identity::IdentityRole ^, System::String ^>
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.IdentityUser,Microsoft.AspNetCore.Identity.IdentityRole,string>
type IdentityDbContext = class
    inherit IdentityDbContext<IdentityUser, IdentityRole, string>
Public Class IdentityDbContext
Inherits IdentityDbContext(Of IdentityUser, IdentityRole, String)
Inheritance

Constructors

IdentityDbContext() IdentityDbContext() IdentityDbContext() IdentityDbContext()

Initializes a new instance of the IdentityDbContext class.

IdentityDbContext(DbContextOptions) IdentityDbContext(DbContextOptions) IdentityDbContext(DbContextOptions) IdentityDbContext(DbContextOptions)

Initializes a new instance of IdentityDbContext.

Methods

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

Configures the schema needed for the identity framework.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)

Properties

RoleClaims RoleClaims RoleClaims RoleClaims

Gets or sets the DbSet<TEntity> of role claims.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
Roles Roles Roles Roles

Gets or sets the DbSet<TEntity> of roles.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserClaims UserClaims UserClaims UserClaims

Gets or sets the DbSet<TEntity> of User claims.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserLogins UserLogins UserLogins UserLogins

Gets or sets the DbSet<TEntity> of User logins.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserRoles UserRoles UserRoles UserRoles

Gets or sets the DbSet<TEntity> of User roles.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
Users Users Users Users

Gets or sets the DbSet<TEntity> of Users.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserTokens UserTokens UserTokens UserTokens

Gets or sets the DbSet<TEntity> of User tokens.

(Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)

Applies to