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

TestCustomersIncludeOrders() private method

private TestCustomersIncludeOrders ( ) : void
return void
        public virtual void TestCustomersIncludeOrders()
        {
            var custs = db.Customers.Include(c => c.Orders).Where(c => c.CustomerID == "ALFKI").ToList();
            AssertValue(1, custs.Count);
            Assert.AreNotEqual(null, custs[0].Orders);
            AssertValue(6, custs[0].Orders.Count);
        }
NorthwindExecutionTest