Aracılığıyla paylaş


UserOnlyStore<TUser,TContext,TKey> Oluşturucu

Tanım

öğesinin yeni bir örneğini oluşturur UserStore<TUser,TRole,TContext,TKey>.

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

Parametreler

context
TContext

DbContext.

Şunlara uygulanır