IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.Roles Свойство

Определение

Возвращает или задает значение 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>

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