6 references to SingleOrDefault
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
CustomPocoTest.cs (4)
42Assert.Null(db.Users.SingleOrDefault(u => u.UserName == oldName)); 64Assert.Null(db.Users.SingleOrDefault(u => u.UserName == oldName)); 127Assert.Null(db.Users.SingleOrDefault(u => u.UserName == oldName)); 149Assert.Null(db.Set<User<int>>().SingleOrDefault(u => u.UserName == oldName));
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryStore.cs (1)
123Roles.SingleOrDefault(r => String.Equals(r.NormalizedName, roleName, StringComparison.OrdinalIgnoreCase)));
System.Linq.Queryable (1)
System\Linq\Queryable.cs (1)
1346new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource?>(SingleOrDefault).Method,