예제 #1
0
        public void MinAggregate()
        {
            var query      = testTable.Min(to => to.SomeNumber);
            var testObject = connection.Run(query);

            Assert.That(testObject.SomeNumber, Is.EqualTo(1));
        }
예제 #2
0
        public void MinIndexAggregate()
        {
            var minName = connection.Run(testTable.Min(nameIndex));

            minName.Should().NotBeNull();
            minName.Name.Should().Be("1");
        }