IdentityDbContext<TUser,TRole,TKey> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
IdentityDbContext<TUser,TRole,TKey>() |
クラスの新しいインスタンスを初期化します。 |
IdentityDbContext<TUser,TRole,TKey>(DbContextOptions) |
db コンテキストの新しいインスタンスを初期化します。 |
IdentityDbContext<TUser,TRole,TKey>()
クラスの新しいインスタンスを初期化します。
protected:
IdentityDbContext();
protected IdentityDbContext();
Protected Sub New ()
適用対象
IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)
db コンテキストの新しいインスタンスを初期化します。
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使用されるオプション。