IdentityUserContext<TUser> 构造函数

定义

重载

IdentityUserContext<TUser>()

初始化 IdentityUserContext<TUser> 类的新实例。

IdentityUserContext<TUser>(DbContextOptions)

初始化 IdentityUserContext<TUser> 的新实例。

IdentityUserContext<TUser>()

Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs

初始化 IdentityUserContext<TUser> 类的新实例。

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

适用于

IdentityUserContext<TUser>(DbContextOptions)

Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs
Source:
IdentityUserContext.cs

初始化 IdentityUserContext<TUser> 的新实例。

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

参数

options
DbContextOptions

要使用的 DbContext选项。

适用于