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

TestTakeDistinctCount() private method

private TestTakeDistinctCount ( ) : void
return void
        public virtual void TestTakeDistinctCount()
        {
            var cnt = db.Orders.OrderBy(o => o.CustomerID).Select(o => o.CustomerID).Take(5).Distinct().Count();
            AssertValue(1, cnt);
        }
NorthwindExecutionTest