IDalCommand2

Assembly: Dal;

Namespace: Prognoz.Platform.Interop.Dal;

Description

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.

Inheritance Hierarchy

IDalCommand2

Comments

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:

Methods

  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:

Dal Assembly Interfaces