Partager via


UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken> Constructeur

Définition

Crée une instance du magasin.

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, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))> : 'Context * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore<'User, 'Context, 'Key, 'UserClaim, 'UserLogin, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim) and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key> and 'UserToken : (new : unit -> 'UserToken))>
Public Sub New (context As TContext, Optional describer As IdentityErrorDescriber = Nothing)

Paramètres

context
TContext

Contexte utilisé pour accéder au magasin.

describer
IdentityErrorDescriber

utilisé pour décrire les IdentityErrorDescriber erreurs de magasin.

S’applique à