IdentityDbContext<TUser> 构造函数

定义

重载

IdentityDbContext<TUser>()

初始化 IdentityDbContext 类的新实例。

IdentityDbContext<TUser>(DbContextOptions)

初始化 IdentityDbContext 的新实例。

IdentityDbContext<TUser>()

Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs

初始化 IdentityDbContext 类的新实例。

protected:
 IdentityDbContext();
protected IdentityDbContext ();
Protected Sub New ()

适用于

IdentityDbContext<TUser>(DbContextOptions)

Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs

初始化 IdentityDbContext 的新实例。

public:
 IdentityDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options);
public IdentityDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)>
Public Sub New (options As DbContextOptions)

参数

options
DbContextOptions

要使用的 DbContext选项。

适用于