RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCachedDataSet.Provider Property

Identifies the internal provider component that packages data into the Data property and which applies updates to the database server.

Pascal
property Provider: TDataSetProvider;
C++
__property TDataSetProvider Provider;

Provider is the internal provider component that packages data into the format required by the Data property and which applies updates when you call the ApplyUpdates method. 

Applications do not use this protected property. Instead, the client dataset publishes the properties and events of this provider component that are relevant. These include 

The Options property, to influence how the provider assembles data packets. 

The UpdateMode property, to specify how the provider locates records when applying updates. 

The OnGetTableName event, to allow applications to specify the database table to which updates are applied, in cases where this is ambiguous. 

The BeforeUpdateRecord event, to allow applications greater control over the application of updates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!