UserOnlyStore<TUser,TContext>(TContext, IdentityErrorDescriber) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a new instance of UserStore<TUser,TRole,TContext>.
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 (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)> : 'Context * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore<'User, 'Context (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<string> and 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
Public Sub New (context As TContext, Optional describer As IdentityErrorDescriber = Nothing)
Parameters
- context
- TContext
The DbContext.
- describer
- IdentityErrorDescriber