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

TestTakeDistinct() private method

private TestTakeDistinct ( ) : void
return void
        public virtual void TestTakeDistinct()
        {
            // distinct must be forced to apply after top has been computed
            var list = db.Orders.OrderBy(o => o.CustomerID).Select(o => o.CustomerID).Take(5).Distinct().ToList();
            AssertValue(1, list.Count);
        }
NorthwindExecutionTest