次の方法で共有


UserStore<TUser,TRole,TContext> コンストラクター

定義

UserStore<TUser,TRole,TContext> の新しいインスタンスを作成します。

public UserStore (TContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = default);
public UserStore (TContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber? describer = default);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<'User, 'Role, 'Context (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<string> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)> : 'Context * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<'User, 'Role, 'Context (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<string> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<'User, 'Role, 'Context (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<string> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)> : 'Context * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<'User, 'Role, 'Context (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<string> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
Public Sub New (context As TContext, Optional describer As IdentityErrorDescriber = Nothing)

パラメーター

context
TContext

DbContext

適用対象