示例#1
0
        public void MaxAggregate()
        {
            var query      = testTable.Max(to => to.SomeNumber);
            var testObject = connection.Run(query);

            Assert.That(testObject.SomeNumber, Is.EqualTo(200));
        }
示例#2
0
        public void MaxIndexAggregate()
        {
            var maxName = connection.Run(testTable.Max(nameIndex));

            maxName.Should().NotBeNull();
            maxName.Name.Should().Be("7");
        }