RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLTransformProvider.CacheData Property

Specifies whether the provider caches the data packet internally in memory.

Pascal
property CacheData: Boolean;
C++
__property Boolean CacheData;

Set CacheData to true to specify that the provider should cache its data packet in memory after the first time it is read from the source XML document. When CacheData is false, every time the Data property is read, the GetRecords method is called, or updates are applied, the provider must reread the source document specified by XMLDataFile

Caching the data improves performance on subsequent data fetches or when applying updates, but consumes additional resources. 

 

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