2 writes to RoleId
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserStoreWithGenericsTest.cs (1)
212RoleId = role.Id,
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
1026RoleId = role.Id
6 references to RoleId
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
IdentityDbContext.cs (4)
150b.HasMany<TUserRole>().WithOne().HasForeignKey(ur => ur.RoleId).IsRequired(); 162b.HasKey(r => new { r.UserId, r.RoleId }); 191b.HasMany<TUserRole>().WithOne().HasForeignKey(ur => ur.RoleId).IsRequired(); 203b.HasKey(r => new { r.UserId, r.RoleId });
UserStore.cs (2)
370join role in Roles on userRole.RoleId equals role.Id 616where userrole.RoleId.Equals(role.Id)