Datasnap.Provider.TDataSetProvider.DoGetTableName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TDataSetProvider

Delphi

procedure DoGetTableName(DataSet: TDataSet; var TableName: string); virtual;

C++

virtual void __fastcall DoGetTableName(Data::Db::TDataSet* DataSet, System::UnicodeString &TableName);

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.

See Also