IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.Roles 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 DbSet<TEntity> 角色的 。
public:
property Microsoft::EntityFrameworkCore::DbSet<TRole> ^ Roles { Microsoft::EntityFrameworkCore::DbSet<TRole> ^ get(); void set(Microsoft::EntityFrameworkCore::DbSet<TRole> ^ value); };
public:
virtual property Microsoft::EntityFrameworkCore::DbSet<TRole> ^ Roles { Microsoft::EntityFrameworkCore::DbSet<TRole> ^ get(); void set(Microsoft::EntityFrameworkCore::DbSet<TRole> ^ value); };
public Microsoft.EntityFrameworkCore.DbSet<TRole> Roles { get; set; }
public virtual Microsoft.EntityFrameworkCore.DbSet<TRole> Roles { get; set; }
member this.Roles : Microsoft.EntityFrameworkCore.DbSet<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim>)> with get, set
member this.Roles : Microsoft.EntityFrameworkCore.DbSet<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key>)> with get, set
Public Property Roles As DbSet(Of TRole)
Public Overridable Property Roles As DbSet(Of TRole)
屬性值
DbSet<TRole>