IDANativeDatasetStreaming
Overview
This interface uses DBClient.TCustomClientDataSet methods to save/restore data.
Location
- Unit: uDADataTable.pas
- Ancestry: IDANativeDatasetStreaming
Required Methods
NativeLoadFromFile
Loads a client dataset's data from a file.
procedure NativeLoadFromFile(const aFileName: string)
Parameters:
- aFileName: the name of the file containing the data to load
NativeLoadFromStream
Loads a client dataset's data from a stream.
procedure NativeLoadFromStream(aStream: TStream)
Parameters:
- aStream: the stream from which to read data
NativeSaveToFile
Saves a client dataset's data to an external file.
procedure NativeSaveToFile(const aFileName: string; DataFormat: TDANativeDataFormat)
Parameters:
- aFileName: the name of the external file to use
- DataFormat: required format (binary or xml)
NativeSaveToStream
Saves a client dataset's data to a stream.
procedure NativeSaveToStream(aStream: TStream; DataFormat: TDANativeDataFormat)
Parameters:
- aStream: an existing stream to write to.
- DataFormat: required format (binary or xml)