Data.SqlExpr.TCustomSQLDataSet.DbxCommandType

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property DbxCommandType: string read FDbxCommandType write SetDbxCommandType stored IsDbxCommandTypeStored nodefault;

C++

__property System::UnicodeString DbxCommandType = {read=FDbxCommandType, write=SetDbxCommandType, stored=IsDbxCommandTypeStored};

Description

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