IObjectContainer.

Query(Predicate, IQueryComparator) Method

Summary

Native Query Interface.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o
Containing Type
IObjectContainer

Syntax

IObjectSet Query(Predicate predicate, IQueryComparator comparator)

Remarks

Prefer LINQ over Native Queries.

Native Query Interface. Queries as with Db4objects.Db4o.IObjectContainer.Query(Db4objects.Db4o.Query.Predicate), but will sort the resulting result according to the given comperator.

Parameters

Name Type Description
predicate Predicate the Db4objects.Db4o.Query.Predicate containing the native query expression.
comparator IQueryComparator the Db4objects.Db4o.Query.IQueryComparator specifiying the sort order of the result

Return Value

Type Description
IObjectSet the query result