Share via


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

Definition

Gets or sets the DbSet<TEntity> of roles.

public virtual Microsoft.EntityFrameworkCore.DbSet<TRole> Roles { get; set; }
member this.Roles : Microsoft.EntityFrameworkCore.DbSet<'Role (requires 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key>)> with get, set
Public Overridable Property Roles As DbSet(Of TRole)

Property Value

DbSet<TRole>

Applies to