2 writes to UserId
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserStoreWithGenericsTest.cs (1)
227
UserId
= user.Id,
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
84
UserId
= user.Id,
10 references to UserId
Microsoft.AspNetCore.Identity.EntityFrameworkCore (8)
IdentityUserContext.cs (2)
197
b.HasMany<TUserLogin>().WithOne().HasForeignKey(ul => ul.
UserId
).IsRequired();
290
b.HasMany<TUserLogin>().WithOne().HasForeignKey(ul => ul.
UserId
).IsRequired();
UserOnlyStore.cs (3)
270
return UserLogins.SingleOrDefaultAsync(userLogin => userLogin.
UserId
.Equals(userId) && userLogin.LoginProvider == loginProvider && userLogin.ProviderKey == providerKey, cancellationToken);
416
return await UserLogins.Where(l => l.
UserId
.Equals(userId))
437
return await FindUserAsync(userLogin.
UserId
, cancellationToken);
UserStore.cs (3)
295
return UserLogins.SingleOrDefaultAsync(userLogin => userLogin.
UserId
.Equals(userId) && userLogin.LoginProvider == loginProvider && userLogin.ProviderKey == providerKey, cancellationToken);
531
return await UserLogins.Where(l => l.
UserId
.Equals(userId))
552
return await FindUserAsync(userLogin.
UserId
, cancellationToken);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserOnlyCustomContextTest.cs (1)
38
b.HasMany<IdentityUserLogin<string>>().WithOne().HasForeignKey(ul => ul.
UserId
).IsRequired();
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
434
return await FindUserAsync(userLogin.
UserId
, cancellationToken).ConfigureAwait(false);