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

TestSelectAssociation() private method

private TestSelectAssociation ( ) : void
return void
        public virtual void TestSelectAssociation()
        {
            var custs = (
                from o in db.Orders
                where o.CustomerID == "ALFKI"
                select o.Customer
                ).ToList();
            AssertValue(6, custs.Count);
            Assert.IsTrue(custs.All(c => c.CustomerID == "ALFKI"));
        }
NorthwindExecutionTest