Sdílet prostřednictvím


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

Definice

Získá nebo nastaví DbSet<TEntity> role.

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

Hodnota vlastnosti

DbSet<TRole>

Platí pro