IDalCommandTask

Assembly: Dal;

Namespace: Prognoz.Platform.Interop.Dal;

Description

The IDalCommandTask interface contains properties of the task used to work with the database using the SQL queries in the asynchronous mode.

Inheritance Hierarchy

IDalCommandTask

Comments

This task is used for asynchronous execution of the SQL queries to the database. Asynchronous execution enables user to continue working in the application without waiting for result of the SQL query execution. To work with the task it is necessary:

Asynchronous execution of the SQL queries to the database is acceptable, if the following requirements are complied:

NOTE. Only one task that executes the SQL queries can be executed asynchronously within one database connection. It is necessary to create separate connections to execute several tasks or organize task queue.

Properties

  Property name Brief description
The ExecuteType property returns destination of the task.
The Result property returns a result of the task execution.

See also:

Dal Assembly Interfaces