共用方式為


IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.RoleClaims 屬性

定義

取得或設定 DbSet<TEntity> 角色宣告的 。

public:
 property Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ RoleClaims { Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ get(); void set(Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ value); };
public:
 virtual property Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ RoleClaims { Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ get(); void set(Microsoft::EntityFrameworkCore::DbSet<TRoleClaim> ^ value); };
public Microsoft.EntityFrameworkCore.DbSet<TRoleClaim> RoleClaims { get; set; }
public virtual Microsoft.EntityFrameworkCore.DbSet<TRoleClaim> RoleClaims { get; set; }
member this.RoleClaims : Microsoft.EntityFrameworkCore.DbSet<'RoleClaim (requires 'RoleClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<'Key>)> with get, set
member this.RoleClaims : Microsoft.EntityFrameworkCore.DbSet<'RoleClaim (requires 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key>)> with get, set
Public Property RoleClaims As DbSet(Of TRoleClaim)
Public Overridable Property RoleClaims As DbSet(Of TRoleClaim)

屬性值

DbSet<TRoleClaim>

適用於