IdentityDbContext Class

Definition

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

C#
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole,string>
C#
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.IdentityUser,Microsoft.AspNetCore.Identity.IdentityRole,string>
Inheritance
Inheritance

Constructors

IdentityDbContext()

Initializes a new instance of the IdentityDbContext class.

IdentityDbContext(DbContextOptions)

Initializes a new instance of IdentityDbContext.

Properties

Methods

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0