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