RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXConnection.CreateCommand Method

Returns a TDBXCommand instance to execute commands.

Pascal
function CreateCommand: TDBXCommand; virtual; overload;
C++
virtual __fastcall TDBXCommand CreateCommand();

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!