Compartilhar via


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

Definição

Obtém ou define as DbSet<TEntity> funções de Usuário.

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 da propriedade

DbSet<TUserRole>

Aplica-se a