public void Apply(object container) { IQuery query = ((IObjectContainer)container).Query(); query.Constrain(typeof(SodaQueryComparatorBenchmark.Item)); query.Descend("name").OrderAscending(); SodaQueryComparatorBenchmark.ConsumeAll(query.Execute()); }
public Item(int id, string name, SodaQueryComparatorBenchmark.ItemChild child) { this.id = id; this.name = name; this.child = child; }