Datasnap.Provider.TCustomProvider.InternalExecute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalExecute(const CommandText: OleStr; var Params: OleVariant); virtual;

C++

virtual void __fastcall InternalExecute(const System::WideString CommandText, System::OleVariant &Params);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomProvider

Description

Provides the underlying implementation of the Execute method.

The Execute method calls InternalExecute to execute the appropriate SQL statement after calling DoBeforeExecute to generate a BeforeExecute event and apply the CommandText and Params. As Implemented in TCustomProvider, InternalExecute does nothing. Descendants override this method to pass the execute command on to an associated dataset.

CommandText is an SQL statement that replaces the SQL of an associated query, or the name of a stored procedure that replaces the associated stored procedure. This parameter is ignored if the Options property does not include poAllowCommandText.

On entry, Params supplies parameter values for the query, stored procedure, or CommandText string. On exit, Params returns any output parameters.

See Also