Partager via


IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.UserRoles Propriété

Définition

Obtient ou définit le DbSet<TEntity> de Rôles d’utilisateur.

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)

Valeur de propriété

DbSet<TUserRole>

S’applique à