다음을 통해 공유


RoleStore<TRole>(DbContext, IdentityErrorDescriber) 생성자

정의

RoleStore<TRole>의 새 인스턴스를 생성합니다.

public RoleStore (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = default);
public RoleStore (Microsoft.EntityFrameworkCore.DbContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber? describer = default);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<string>)> : Microsoft.EntityFrameworkCore.DbContext * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<string>)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<string>)> : Microsoft.EntityFrameworkCore.DbContext * Microsoft.AspNetCore.Identity.IdentityErrorDescriber -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<string>)>
Public Sub New (context As DbContext, Optional describer As IdentityErrorDescriber = Nothing)

매개 변수

적용 대상