IDalCommandTask

Assembly: Dal;

Namespace: Prognoz.Platform.Interop.Dal;

Description

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

Inheritance Hierarchy

IDalCommandTask

Comments

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

Asynchronous execution of SQL queries to database is available if the following requirements are met:

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 task destination.
The Result property returns task execution result.

See also:

Dal Assembly Interfaces