You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dapper is mapping the Id from the Roles table in this query to the ApplicationUser object:
const string command = "SELECT * " +
"FROM dbo.Users AS u " +
"INNER JOIN dbo.UserRoles AS ur ON u.Id = ur.UserId " +
"INNER JOIN dbo.Roles AS r ON ur.RoleId = r.Id " +
"WHERE r.Name = @RoleName;";
SELECT u.* fixes the issue.
Same issue in GetUsersForClaimAsync.
The text was updated successfully, but these errors were encountered:
Dapper is mapping the Id from the Roles table in this query to the ApplicationUser object:
SELECT u.* fixes the issue.
Same issue in GetUsersForClaimAsync.
The text was updated successfully, but these errors were encountered: