Compartir a través de


IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.Roles Propiedad

Definición

Obtiene o establece el DbSet<TEntity> de roles.

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)

Valor de propiedad

DbSet<TRole>

Se aplica a