Assembly: Dal;
Namespace: Prognoz.Platform.Interop.Dal;
The IDalCommand2 interface contains methods that are used to create a task that enables the user to work with database using SQL queries in the asynchronous mode.
IDalCommand2
It is necessary to create and set up a command that is implemented by the IDalCommand interface beforehand to create a task. After the setup the created command can be cast to this interface to create a 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 that is used to work with database using SQL queries in the asynchronous mode. |
See also: