We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631e364 commit c087537Copy full SHA for c087537
src/NHibernate.Test/Linq/WhereSubqueryTests.cs
@@ -568,7 +568,7 @@ public void CategoriesWithFirstProductIsNotDiscouned()
568
{
569
//NH-3190
570
var result = (from c in db.Categories
571
- where c.Products.Select(p => p.Discontinued).FirstOrDefault() == false
+ where c.Products.OrderBy(p => p.ProductId).Select(p => p.Discontinued).FirstOrDefault() == false
572
select c).ToList();
573
574
Assert.That(result.Count, Is.EqualTo(7));
0 commit comments