IQuery

Assembly: Db;

Namespace: Prognoz.Platform.Interop.Db;

Description

The IQuery interface contains properties and methods of the Query repository object.

Inheritance Hierarchy

IQuery

Comments

When a new query is created, to ensure its correct work, determine the following minimum set of properties in the settings:

Properties

  Property name Brief description
The AutoDefineStorage property determines whether data saving settings are automatically defined at query saving.
The Database property determines a database, in which the query is stored.
The ParamsCheck property determines whether parameters are considered at Query execution.
The Sql property determines the text of SQL query to a database of the Query object.
The SqlText property determines the text of SQL query to a database of the Query object for certain DBMS driver.
The Storage property returns options for data saving.

Methods

  Method name Brief description
The ClearSqlText method clears query text of object query.
The RefreshFields method updates the list of the Query object fields under the information from a database.

See also:

Db Assembly Interfaces | IDatasetModel | IDatasetInstance