Пример #1
0
 public virtual Db4objects.Db4o.IObjectSet Execute(Db4objects.Db4o.Query.IQuery query, Db4objects.Db4o.Query.Predicate predicate, Db4objects.Db4o.Query.IQueryComparator comparator)
 {
     Db4objects.Db4o.Query.IQuery q = ConfigureQuery(query, predicate);
     q.SortBy(comparator);
     return(q.Execute());
 }
Пример #2
0
 private Db4objects.Db4o.Query.IQuery QueryForExtent <Extent>(Db4objects.Db4o.Query.IQuery query, Db4objects.Db4o.Query.IQueryComparator comparator)
 {
     query.Constrain(typeof(Extent));
     query.SortBy(comparator);
     return(query);
 }