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