From c283eb723b0eaac7e9fe4796b10845ae7654419c Mon Sep 17 00:00:00 2001 From: Danilo Neto Date: Thu, 18 Sep 2025 17:17:48 -0300 Subject: [PATCH 1/2] Fix misleading XML doc for TKey in UserStore (#63370) --- src/Identity/EntityFrameworkCore/src/UserStore.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Identity/EntityFrameworkCore/src/UserStore.cs b/src/Identity/EntityFrameworkCore/src/UserStore.cs index f3347a97259f..85c272b0b1e6 100644 --- a/src/Identity/EntityFrameworkCore/src/UserStore.cs +++ b/src/Identity/EntityFrameworkCore/src/UserStore.cs @@ -63,7 +63,7 @@ public UserStore(TContext context, IdentityErrorDescriber? describer = null) : b /// The type representing a user. /// The type representing a role. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for the user and role entities. public class UserStore : UserStore, IdentityUserRole, IdentityUserLogin, IdentityUserToken, IdentityRoleClaim> where TUser : IdentityUser where TRole : IdentityRole @@ -84,7 +84,7 @@ public UserStore(TContext context, IdentityErrorDescriber? describer = null) : b /// The type representing a user. /// The type representing a role. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for the user and role entities. /// The type representing a claim. /// The type representing a user role. /// The type representing a user external login. @@ -116,7 +116,7 @@ public UserStore(TContext context, IdentityErrorDescriber? describer = null) : b /// The type representing a user. /// The type representing a role. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for the user and role entities. /// The type representing a claim. /// The type representing a user role. /// The type representing a user external login. From bcca487fdd2355bbe147ba5450a817c44078a435 Mon Sep 17 00:00:00 2001 From: Danilo Neto Date: Tue, 23 Sep 2025 21:30:48 -0300 Subject: [PATCH 2/2] fix: update type parameter documentation for primary key in UserOnlyStore and UserStoreBase --- src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs | 6 +++--- src/Identity/Extensions.Stores/src/UserStoreBase.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs b/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs index 732e7ccee9fa..5cde3fb05b39 100644 --- a/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs +++ b/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs @@ -43,7 +43,7 @@ public UserOnlyStore(TContext context, IdentityErrorDescriber? describer = null) /// /// The type representing a user. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for a user. public class UserOnlyStore : UserOnlyStore, IdentityUserLogin, IdentityUserToken> where TUser : IdentityUser where TContext : DbContext @@ -62,7 +62,7 @@ public UserOnlyStore(TContext context, IdentityErrorDescriber? describer = null) /// /// The type representing a user. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for a user. /// The type representing a claim. /// The type representing a user external login. /// The type representing a user token. @@ -88,7 +88,7 @@ public UserOnlyStore(TContext context, IdentityErrorDescriber? describer = null) /// /// The type representing a user. /// The type of the data context class used to access the store. -/// The type of the primary key for a role. +/// The type of the primary key for a user. /// The type representing a claim. /// The type representing a user external login. /// The type representing a user token. diff --git a/src/Identity/Extensions.Stores/src/UserStoreBase.cs b/src/Identity/Extensions.Stores/src/UserStoreBase.cs index 804ebcbad7dc..b9bcf87fd5d4 100644 --- a/src/Identity/Extensions.Stores/src/UserStoreBase.cs +++ b/src/Identity/Extensions.Stores/src/UserStoreBase.cs @@ -988,7 +988,7 @@ public virtual async Task RedeemCodeAsync(TUser user, string code, Cancell /// /// The type representing a user. /// The type representing a role. -/// The type of the primary key for a role. +/// The type of the primary key for a user. /// The type representing a claim. /// The type representing a user role. /// The type representing a user external login.