Data.DBXDelegate.TDBXDelegateConnection.CreateCommand
Delphi
function CreateCommand: TDBXCommand; override;
C++
virtual Data::Dbxcommon::TDBXCommand* __fastcall CreateCommand()/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXDelegate.pas Data.DBXDelegate.hpp |
Data.DBXDelegate | TDBXDelegateConnection |
Description
Returns a TDBXCommand instance to execute commands.
Data.DBXDelegate.TDBXDelegateConnection.CreateCommand inherits from Data.DBXCommon.TDBXConnection.CreateCommand. All content below this line refers to Data.DBXCommon.TDBXConnection.CreateCommand.
Returns a TDBXCommand instance to execute commands.
This method returns a TDBXCommand instance to execute commands. The TDBXCommand.CommandType property specifies the type of command. Command types are specified in the TDBXCommandTypes class. The default CommandType property setting is TDBXCommandTypes.SQLStatement., an SQL command.
Note: Call TDBXCommand.Free when the TDBXCommand is no longer needed.