API:Data.SqlExpr.TSQLDataSet.DbxCommandType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLDataSet

Delphi

property DbxCommandType;

C++

__property DbxCommandType;

Description

Command type in String format.

Data.SqlExpr.TSQLDataSet.DbxCommandType inherits from Data.SqlExpr.TCustomSQLDataSet.DbxCommandType. All content below this line refers to Data.SqlExpr.TCustomSQLDataSet.DbxCommandType.

Command type in String format.

DbxCommandType indicates the type of command that is contained in the CommandText property. This can be set to one of the constant strings in the TDBXCommandTypes class. However, DbxCommandType is a String, unlike the CommandType property. This makes it easier to define new command types, making this approach more extensible. DbxCommandType is a superset of CommandType.

Note: Changing DbxCommandType automatically changes the CommandType property and vice-versa. The additional settings supported by DbxCommandType are converted to ctQuery for CommandType.

See Also