14 writes to Name
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
RoleStore.cs (1)
228
role.
Name
= roleName;
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (10)
SqlStoreTestBase.cs (1)
80
return new TRole() {
Name
= roleName };
UserStoreGuidKeyTest.cs (1)
23
Name
= Id.ToString();
UserStoreIntKeyTest.cs (1)
21
Name
= Guid.NewGuid().ToString();
UserStoreStringKeyTest.cs (1)
23
Name
= Id;
UserStoreTest.cs (5)
320
role1.
Name
= Guid.NewGuid().ToString();
321
role2.
Name
= Guid.NewGuid().ToString();
350
role.
Name
= Guid.NewGuid().ToString();
351
role2.
Name
= Guid.NewGuid().ToString();
381
role1.
Name
= Guid.NewGuid().ToString();
UserStoreWithGenericsTest.cs (1)
310
Name
= roleName;
Microsoft.Extensions.Identity.Stores (3)
IdentityRole.cs (2)
33
Name
= roleName;
54
Name
= roleName;
RoleStoreBase.cs (1)
113
role.
Name
= roleName;
14 references to Name
Microsoft.AspNetCore.Identity.EntityFrameworkCore (4)
IdentityDbContext.cs (2)
147
b.Property(u => u.
Name
).HasMaxLength(256);
188
b.Property(u => u.
Name
).HasMaxLength(256);
RoleStore.cs (1)
213
return Task.FromResult(role.
Name
);
UserStore.cs (1)
372
select role.
Name
;
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
SqlStoreTestBase.cs (4)
83
protected override Expression<Func<TRole, bool>> RoleNameEqualsPredicate(string roleName) => r => r.
Name
== roleName;
88
protected override Expression<Func<TRole, bool>> RoleNameStartsWithPredicate(string roleName) => r => r.
Name
.StartsWith(roleName);
251
IdentityResultAssert.IsSuccess(await manager.AddToRoleAsync(user, admin.
Name
));
252
IdentityResultAssert.IsSuccess(await manager.AddToRoleAsync(user, local.
Name
));
UserStoreTest.cs (2)
415
protected override Expression<Func<IdentityRole, bool>> RoleNameEqualsPredicate(string roleName) => r => r.
Name
== roleName;
418
protected override Expression<Func<IdentityRole, bool>> RoleNameStartsWithPredicate(string roleName) => r => r.
Name
.StartsWith(roleName);
UserStoreWithGenericsTest.cs (2)
70
protected override Expression<Func<MyIdentityRole, bool>> RoleNameEqualsPredicate(string roleName) => r => r.
Name
== roleName;
75
protected override Expression<Func<MyIdentityRole, bool>> RoleNameStartsWithPredicate(string roleName) => r => r.
Name
.StartsWith(roleName);
Microsoft.Extensions.Identity.Stores (2)
IdentityRole.cs (1)
83
return
Name
?? string.Empty;
RoleStoreBase.cs (1)
98
return Task.FromResult(role.
Name
);