Aracılığıyla paylaş


UserOnlyStore<TUser>(DbContext, IdentityErrorDescriber) Oluşturucu

Tanım

öğesinin yeni bir örneğini oluşturur UserOnlyStore<TUser>.

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

Parametreler

context
DbContext

DbContext.

Şunlara uygulanır