共用方式為


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>

實作

適用於