Show: Delphi
C++
Display Preferences
Data.DB.IProviderSupport.PSGetTableName
From XE2 API Documentation
Delphi
function PSGetTableName: string;
C++
virtual System::UnicodeString __fastcall PSGetTableName(void) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DB.pas Data.DB.hpp |
Data.DB | IProviderSupport |
Description
Returns the name of the dataset table that appears in generated SQL statements.
PSGetTableName returns the name of the underlying database table against which updates are applied when the provider's ResolveToDataSet property is false. This value is used for generating the SQL statements that apply updates. The generated SQL statements are subsequently executed by a call to PSExecuteStatement.
If PSGetTableName does not return a table name, the provider must have an OnGetTableName event handler to supply this value.