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

TestOrderByThenBy() private method

private TestOrderByThenBy ( ) : void
return void
        public virtual void TestOrderByThenBy()
        {
            var list = db.Customers.OrderBy(c => c.CustomerID).ThenBy(c => c.Phone).ToList();
            var sorted = list.OrderBy(c => c.CustomerID).ThenBy(c => c.Phone).ToList();
            AssertValue(91, list.Count);
            Assert.IsTrue(Enumerable.SequenceEqual(list, sorted));
        }
NorthwindExecutionTest