Data.DBXCommon.TDBXCommand.Prepare

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXCommand

Delphi

procedure Prepare; virtual;

C++

virtual void __fastcall Prepare();

Description

Prepare the command for execution

This method prepares the command for execution.

If no parameters have been set up, the driver supports parameter metadata and the dynamic SQL statement contains parameters, Prepare sets up the command's parameters.

Note: Prepare must be called before calling any of the TDBXCommand Execute methods.