Description

Returns an McDBQuery instance initialized to query the McDBNode instances in this McDBDatabase.

Return Type

A McDBQuery object.  

McDBQuery

Syntax

object.CreateQuery

The CreateQuery Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBDatabase.

Remarks

McDBQuery objects are attached to one or more McDBDatabase instances to be the context(s) for the query. These objects can be generated either by: creating a new McDBQuery and calling its McDBQuery.AttachDatabase() method or by calling this method from the McDBDatabase being queried. This method is provided as an alternative to using the McDBQuery.AttachDatabase method.

Notes

The McDBQuery returned by this method only has its context set. No other specification about the node(s) to be found is done, and must be established via the Set<property> methods of McDBQuery.