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

Definición

Obtiene o establece el DbSet<TEntity> de roles.

C#
public Microsoft.EntityFrameworkCore.DbSet<TRole> Roles { get; set; }
C#
public virtual Microsoft.EntityFrameworkCore.DbSet<TRole> Roles { get; set; }

Valor de propiedad

DbSet<TRole>

Se aplica a

Produto Versións
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0