共用方式為


IdentityDbContext<TUser,TRole,TKey> 建構函式

定義

多載

IdentityDbContext<TUser,TRole,TKey>()

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

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

初始化資料庫內容的新實例。

IdentityDbContext<TUser,TRole,TKey>()

來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs

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

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

適用於

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs
來源:
IdentityDbContext.cs

初始化資料庫內容的新實例。

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

參數

options
DbContextOptions

要使用的選項 DbContext

適用於