IdentityDbContext 類別

定義

用於身分識別的 Entity Framework 資料庫內容的基類。

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>
繼承
繼承

建構函式

IdentityDbContext()

初始化 IdentityDbContext 類別的新執行個體。

IdentityDbContext(DbContextOptions)

初始化 IdentityDbContext 的新執行個體。

屬性

方法

適用於

產品 版本
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