RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.GetDataSource Method

Returns the value of the DataSource property.

Pascal
function GetDataSource: TDataSource;
C++
__fastcall TDataSource GetDataSource();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!