2 writes to UserId
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserStoreWithGenericsTest.cs (1)
213
UserId
= user.Id,
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
1025
UserId
= user.Id,
6 references to UserId
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
IdentityDbContext.cs (4)
137
b.HasMany<TUserRole>().WithOne().HasForeignKey(ur => ur.
UserId
).IsRequired();
162
b.HasKey(r => new { r.
UserId
, r.RoleId });
178
b.HasMany<TUserRole>().WithOne().HasForeignKey(ur => ur.
UserId
).IsRequired();
203
b.HasKey(r => new { r.
UserId
, r.RoleId });
UserStore.cs (2)
371
where userRole.
UserId
.Equals(userId)
615
join user in Users on userrole.
UserId
equals user.Id