TAstaClientDataSet.SuitCaseData
Applies to
TAstaClientDataSet
Declaration
property
SuitCaseData: TSuitCaseData;
Description
The SuitCaseData property includes these three sub properites:
Active: Whether or not to use the suitcase model (Boolean).
FileName: The name of the file to which the dataset will be streamed to and from (String).
SavedCachedUpdates: Whether or not to save the OriginalValueDataSet that ASTA uses to implement cached updates (Boolean).
Active and FileName must be set in order for the suitcase model to be activated. Open will call the LoadFromFile(SuitCaseData.FileName) to load the dataset from disk. You must manually call the SaveToFile(SuitCaseData.FileName) to save the data to disk.
If you want a TAstaClientDataSet to be open and NOT fetch data automatically from the server, set the SuitCaseData.Active property to True and FileName to NULL.
OpenNoFetch will temporarily set the SuitCaseData.Active property to True to allow a TAstaClientDataSet to be opened without going to the server.
See also SuitCase Model and Streaming