RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.Roles 属性

定义

存储区包含的角色的导航属性。

public:
 virtual property System::Linq::IQueryable<TRole> ^ Roles { System::Linq::IQueryable<TRole> ^ get(); };
public virtual System.Linq.IQueryable<TRole> Roles { get; }
member this.Roles : System.Linq.IQueryable<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim>)>
member this.Roles : System.Linq.IQueryable<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key>)>
Public Overridable ReadOnly Property Roles As IQueryable(Of TRole)

属性值

IQueryable<TRole>

实现

适用于