5 references to Single
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
CustomPocoTest.cs (4)
43
Assert.Equal(user, db.Users.
Single
(u => u.UserName == newName));
65
Assert.Equal(user, db.Users.
Single
(u => u.UserName == newName));
128
Assert.Equal(user, db.Users.
Single
(u => u.UserName == newName));
150
Assert.Equal(user, db.Set<User<int>>().
Single
(u => u.UserName == newName));
System.Linq.Queryable (1)
System\Linq\Queryable.cs (1)
1302
new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource>(
Single
).Method,