RoleStore<TRole>(DbContext, IdentityErrorDescriber) Constructor

Definition

Constructs a new instance of RoleStore<TRole>.

C#
public RoleStore (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = default);
C#
public RoleStore (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber? describer = default);

Parameters

context
DbContext

The DbContext.

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0