Compartilhar via


UserStore<TUser>(DbContext, IdentityErrorDescriber) Construtor

Definição

Constrói uma nova instância de UserStore<TUser>.

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

Parâmetros

context
DbContext

O DbContext.

Aplica-se a