Assembly: Dal;
Namespace: Prognoz.Platform.Interop.Dal;
The IDalCommand2 interface contains methods used to create the task that enables user to work with the database using the SQL queries in the asynchronous mode.
IDalCommand2
It is necessary to create and configure a command that is implemented by the IDalCommand interface beforehand to create a task. After configuration the created command can be cast to this interface to create the task. The connection, within which the command works, must support the asynchronous mode. If the current connection does not support the asynchronous mode, the following methods to establish the necessary connection must be used:
| Method name | Brief description | |
| CreateTask | The CreateTask method creates a new task used to work with the database using SQL queries in the asynchronous mode. |
See also: