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