EQModel Object
From English Query
English Query
EQModel Object
An object into which model information is loaded when a model is compiled and built.
Note EQModel is used as the default name of the project file when using one of the Save methods.
Properties
| Errors | Contains the collection of errors generated from the last method used on the EQModel object. |
Methods
| AutoModel | Creates default entities and relationships for tables and entities in the current project. |
| Build | Builds an English Query compiled (*.eqd) model from the current project. |
| Compile | Performs all object validation checks on each object in the project and returns a collection of any errors, warnings, and hints found. |
| CreateProject | Clears the contents of the current project and sets the name of the new project. |
| FetchDatabaseStructure | Retrieves schema information, such as tables or cubes, from the SQL or Microsoft® SQL Server™ 2000 Analysis Services (OLAP) database using the given Microsoft ActiveX® Data Objects (ADO) connection object. |
| OpenModule | Loads the contents of a English Query module (*.eqm) and appends it to the existing XMLDOMDocument object. |
| OpenProject | Clears the XMLDOMDocument object and then loads an English Query project (*.eqp) or Semantic Modeling Format (SMF) file (*.smf). |
| OpenProjectFromXMLDOM | Loads the contents of the current project from an XMLDOMDocument object. |
| SaveModule | Saves the contents of a module in the XMLDOMdocument object into the specified module file. |
| SaveProject | Saves the contents of the XMLDOMDocument object into project (*.eqp) and module (*.eqm) files. The SaveProject method retrieves data from the XMLDOMDocument object and splits the data into the main project file and multiple module files. |
| SaveProjectAsSMF | Saves the contents of the current project to a merged single SMF (.smf) file. |
| SaveProjectToXMLDOM | Saves the contents of the current project into an XMLDOMDocument object. |
| SaveProjectFile | Saves the content of the project file (*.eqp) in the XMLDOMDocument object to the specified file. |