Hi,
EF create tables for identity, in some tables there are NormalizedX columns, e.g: NormalizedName in AspNetRoles table.
I didn't find any documentation about this topic.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Good question. I'll try to get an answer. In the mean time, moved to Master issue: Introduction to Identity #16230
@HaoK What is the purpose of NormalizedX columns in Identity tables?
EF create tables for identity, in some tables there are
NormalizedXcolumns, e.g:NormalizedNameinAspNetRolestable.
The normalized fields are what we do comparisons against for lookups, the regular columns are what you can think of as the display names, so the casing is preserved.
@HaoK what about second question?
EF doesn't normalize the column at all, the user manager uses the ILookupNormalizer interface that by default just calls to upper invariant I believe