Compartir a través de


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

Definición

Obtiene o establece el DbSet<TEntity> de Roles de usuario.

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)

Valor de propiedad

DbSet<TUserRole>

Se aplica a