Поделиться через


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>

Применяется к