Data.DBXCommon.TDBXConnection.CreateCommand

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateCommand: TDBXCommand; overload; virtual;

C++

virtual TDBXCommand* __fastcall CreateCommand()/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXConnection

Description

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.

See Also