Beispiel #1
0
        public void MaxOnFilteredSet2()
        {
            var soh    = new SalesOrderHeaders();
            var result = soh.Max("SalesOrderID", new { TerritoryID = 10 });

            Assert.AreEqual(75117, result);
        }
Beispiel #2
0
        public void MaxOnFilteredSet()
        {
            var soh    = new SalesOrderHeaders();
            var result = soh.Max(columns: "SalesOrderID", where : "SalesOrderID < @0", args: 100000);

            Assert.AreEqual(75123, result);
        }