예제 #1
0
        public async Task MaxOnFilteredSet2()
        {
            var soh    = new SalesOrderHeaders();
            var result = await soh.MaxAsync("SalesOrderID", new { TerritoryID = 10 });

            Assert.AreEqual(75117, result);
        }
예제 #2
0
        public async Task MaxOnFilteredSet()
        {
            var soh    = new SalesOrderHeaders();
            var result = await soh.MaxAsync(columns : "SalesOrderID", where : "SalesOrderID < @0", args : 100000);

            Assert.AreEqual(75123, result);
        }