Exemple #1
0
        public void FilterAndSortAscending()
        {
            var result = _collection.Query()
                         .Where(x => x.Value == "Value 1")
                         .OrderBy(x => x.Id, Query.Ascending)
                         .ToList();

            result[0].Id.Should().Be("B");
            result[1].Id.Should().Be("C");
        }
Exemple #2
0
 public IEnumerable <T> enumerate() => collection.Query().ToEnumerable();