Declaration¶
Source position: db.pas line 1634
type
IProviderSupport = interface
procedure PSEndTransaction;
procedure PSExecute;
function PSExecuteStatement : Integer;
procedure PSGetAttributes;
function PSGetCommandText : string;
function PSGetCommandType : TPSCommandType;
function PSGetDefaultOrder : TIndexDef;
function PSGetIndexDefs : TIndexDefs;
function PSGetKeyFields : string;
function PSGetParams : TParams;
function PSGetQuoteChar : string;
function PSGetTableName : string;
function PSGetUpdateException : EUpdateError;
function PSInTransaction : Boolean;
function PSIsSQLBased : Boolean;
function PSIsSQLSupported : Boolean;
procedure PSReset;
procedure PSSetCommandText;
procedure PSSetParams;
procedure PSStartTransaction;
function PSUpdateRecord : Boolean;
end;
Inheritance¶
Description¶
IProviderSupport is an interface used by Delphi's TProvider (datasnap) technology. It is currently not used in Free Pascal, but is provided for Delphi compatibility. The TDataset class implements all the methods of this interface for the benefit of descendent classes, but does not publish the interface in it's declaration.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| PSEndTransaction | default | End an active transaction. |
| PSExecute | default | Execute the current command-text. |
| PSExecuteStatement | default | Execute a SQL statement. |
| PSGetAttributes | default | Get a list of attributes (metadata). |
| PSGetCommandText | default | Return the SQL command executed for getting data. |
| PSGetCommandType | default | Return SQL command type. |
| PSGetDefaultOrder | default | Default order index definition. |
| PSGetIndexDefs | default | Return a list of index definitions. |
| PSGetKeyFields | default | Return a list of key fields in the dataset. |
| PSGetParams | default | Get the parameters in the commandtext. |
| PSGetQuoteChar | default | Quote character for quoted strings. |
| PSGetTableName | default | Name of database table which must be updated. |
| PSGetUpdateException | default | Transform exception to UpdateError. |
| PSInTransaction | default | Is the dataset in an active transaction. |
| PSIsSQLBased | default | Is the dataset SQL based. |
| PSIsSQLSupported | default | Can the dataset support SQL statements. |
| PSReset | default | Position the dataset on the first record. |
| PSSetCommandText | default | Set the command-text of the dataset. |
| PSSetParams | default | Set the parameters for the command text. |
| PSStartTransaction | default | Start a new transaction. |
| PSUpdateRecord | default | Update a record. |