UserOnlyStore<TUser,TContext,TKey> Constructor

Definition

Constructs a new instance of 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)

Parameters

context
TContext

The DbContext.

Applies to