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

TestSelectWhereAssociationTwice() private method

private TestSelectWhereAssociationTwice ( ) : void
return void
        public virtual void TestSelectWhereAssociationTwice()
        {
            var n = db.Orders.Where(c => c.CustomerID == "WHITC").Count();
            var ords = (
                from o in db.Orders
                where o.Customer.Country == "USA" && o.Customer.City == "Seattle"
                select o
                ).ToList();
            AssertValue(n, ords.Count);
        }
NorthwindExecutionTest