Datasnap.Provider.TDataSetProvider.DoGetTableName
Delphi
procedure DoGetTableName(DataSet: TDataSet; var TableName: string); virtual;
C++
virtual void __fastcall DoGetTableName(Data::Db::TDataSet* DataSet, System::UnicodeString &TableName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetProvider |
Description
Generates an OnGetTableName event.
The resolver calls DoGetTableName when it initializes the information it needs to apply updates. Override this method to provide an alternate mechanism for determining the name of the dataset that is the target of an update operation.
DataSet is the dataset that is the target of the update operation.
The name of the target dataset as it should appear in generated SQL statements is returned as the TableName parameter.