English Query

DomainInfo Object

Encapsulates information about the entities and relationships in a particular model. It represents the information in the English Query application (*.eqd) file. You do not use this information directly.

Properties
Closed Property Indicates the open and closed status of the DomainInfo object.
FullName Property Indicates the path of the DomainInfo object.
QuestionBuilder Property Contains the Question Builder information (the QuestionBuilder object) for the DomainInfo Object.

Methods
Close Method Closes the DomainInfo object.

Remarks

All information about the English Query application belongs to a model. This includes the extracted database structure, the semantic objects (such as entities and relationships), application defaults, and dictionary entries.

The DomainInfo object encapsulates information about the entities and relationships in a particular model. This information determines which English questions and statements the English Query server can and cannot parse.

You do not usually need to use this object directly. This object provides support for programmers who design English Query system management tools or model-information authoring tools.

Many end-user sessions can share the same model information object. If a DomainInfo object is not already loaded when an InitDomain is called to initialize a session, the English Query server opens the DomainInfo and loads it into the English Query knowledge base. Otherwise, the session is attached to the existing DomainInfo. Usually, models are not unloaded when the last session attached to the DomainInfo is closed. Instead, you can call the Close method on the DomainInfo object.

Each end-user session is associated with a model for the duration of the session. The model must be initialized immediately after the session is created with Session by calling InitDomain.

See Also

DomainInfo Property

Session Object