IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.UserRoles 属性

定义

获取或设置 DbSet<TEntity> 用户角色的 。

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

属性值

DbSet<TUserRole>

适用于