NLite.Data.Test.NorthwindExecutionTest.TestAnyWithSubqueryNoPredicate C# (CSharp) Method

TestAnyWithSubqueryNoPredicate() private method

private TestAnyWithSubqueryNoPredicate ( ) : void
return void
        public virtual void TestAnyWithSubqueryNoPredicate()
        {
            // customers with at least one order
            var list = db.Customers.Where(c => db.Orders.Where(o => o.CustomerID == c.CustomerID).Any()).ToList();
            AssertValue(89, list.Count);
        }
NorthwindExecutionTest