Datasnap.Xmlxform.TXMLTransformProvider.CacheData
Delphi
property CacheData: Boolean read FCacheData write FCacheData default False;
C++
__property bool CacheData = {read=FCacheData, write=FCacheData, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.Xmlxform.pas Datasnap.Xmlxform.hpp |
Datasnap.Xmlxform | TXMLTransformProvider |
Description
Specifies whether the provider caches the data packet internally in memory.
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.