Web.DBWeb.TDSTableProducer.GetDataSource
Delphi
function GetDataSource: TDataSource;
C++
Data::Db::TDataSource* __fastcall GetDataSource();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | TDSTableProducer |
Description
Returns the value of the DataSource property.
GetDataSource is exposed as a protected method so that descendants of TDSTableProducer can override the implementation of the DataSource property.
The DataSource property for TDSTableProducer is an internally generated TDataSource object, not an external component that can be shared with other objects. It is surfaced only for internal APIs that require a TDataSource object rather than working directly with TDataSet.