db4o

IQuery Interface

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

For a list of all members of this type, see IQuery Members.

public interface 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.

Requirements

Namespace: Db4objects.Db4o.Query

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

See Also

IQuery Members | Db4objects.Db4o.Query Namespace