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

TestCompareEntityConstantEqualRelationship() private method

private TestCompareEntityConstantEqualRelationship ( ) : void
return void
        public virtual void TestCompareEntityConstantEqualRelationship()
        {
            Customer alfki = new Customer { CustomerID = "ALFKI" };
            var testQuery = from o in db.Orders
                            where o.Customer == alfki
                            select o;

            var test = testQuery.ToList();

            AssertValue(6, test.Count);
            AssertValue("ALFKI", test[0].CustomerID);
        }
NorthwindExecutionTest