[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Native Query Interface.

Namespace: Db4objects.Db4o
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function Query ( _
	predicate As Predicate, _
	comparator As IQueryComparator _
) As IObjectSet
C#
IObjectSet Query (
	Predicate predicate,
	IQueryComparator comparator
)
Visual C++
IObjectSet^ Query (
	Predicate^ predicate, 
	IQueryComparator^ comparator
)

Parameters

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

Return Value

the Db4objects.Db4o.IObjectSet returned by the query.

Remarks

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