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

handle to a node in a S.O.D.A.

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

Syntax

Visual Basic (Declaration)
Public Interface IQuery
C#
public interface IQuery
Visual C++
public interface class IQuery

Remarks

handle to a node in a S.O.D.A. query graph.

A node in the query graph can represent multiple classes, one class or an attribute of a class.

The graph is automatically extended with attributes of added constraints (see Db4objects.Db4o.Query.IQuery.Constrain ) and upon calls to Db4objects.Db4o.Query.IQuery.Descend that request nodes that do not yet exist.

References to joined nodes in the query graph can be obtained by "walking" along the nodes of the graph with the method Db4objects.Db4o.Query.IQuery.Descend .

Db4objects.Db4o.Query.IQuery.Execute evaluates the entire graph against all persistent objects.

Db4objects.Db4o.Query.IQuery.Execute can be called from any Db4objects.Db4o.Query.IQuery node of the graph. It will return an Db4objects.Db4o.IObjectSet filled with objects of the class/classes that the node, it was called from, represents.

Note:
Native queries are the recommended main query interface of db4o.