FireDAC.Comp.Client.TFDAdaptedDataSet.PSGetCommandType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDAdaptedDataSet

Delphi

function PSGetCommandType: TPSCommandType; override;

C++

virtual Data::Db::TPSCommandType __fastcall PSGetCommandType();

Description

Gets the command type to be executed by PSExecute.

FireDAC.Comp.Client.TFDAdaptedDataSet.PSGetCommandType inherits from Data.DB.TDataSet.PSGetCommandType. All content below this line refers to Data.DB.TDataSet.PSGetCommandType.

Gets the command type to be executed by PSExecute.

PSGetCommandType gets the command type to be executed by PSExecute. The type may be a type of SQL command or other command types, such as stored procedures.

This method is an implementation of the IProviderSupport.PSGetCommandType method and, by default, returns ctUnknown, because TDataSet does not implement a provider by default. To use it, every TDataSet descendant must override it in its specific way.

See Also