2 writes to NormalizedName
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
RoleStore.cs (1)
313
role.
NormalizedName
= normalizedName;
Microsoft.Extensions.Identity.Stores (1)
RoleStoreBase.cs (1)
189
role.
NormalizedName
= normalizedName;
8 references to NormalizedName
Microsoft.AspNetCore.Identity.EntityFrameworkCore (7)
IdentityDbContext.cs (4)
143
b.HasIndex(r => r.
NormalizedName
).HasDatabaseName("RoleNameIndex").IsUnique();
148
b.Property(u => u.
NormalizedName
).HasMaxLength(256);
184
b.HasIndex(r => r.
NormalizedName
).HasDatabaseName("RoleNameIndex").IsUnique();
189
b.Property(u => u.
NormalizedName
).HasMaxLength(256);
RoleStore.cs (2)
284
return Roles.FirstOrDefaultAsync(r => r.
NormalizedName
== normalizedName, cancellationToken);
298
return Task.FromResult(role.
NormalizedName
);
UserStore.cs (1)
259
return Roles.SingleOrDefaultAsync(r => r.
NormalizedName
== normalizedRoleName, cancellationToken);
Microsoft.Extensions.Identity.Stores (1)
RoleStoreBase.cs (1)
174
return Task.FromResult(role.
NormalizedName
);