FireDAC.Comp.Client.TFDTable.SaveToStorage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToStorage(const AFileName: String; AStream: TStream;  AFormat: TFDStorageFormat); override;

C++

virtual void __fastcall SaveToStorage(const System::UnicodeString AFileName, System::Classes::TStream* AStream, Firedac::Stan::Intf::TFDStorageFormat AFormat);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDTable

Description

Saves dataset content into the specified data storage.

FireDAC.Comp.Client.TFDTable.SaveToStorage inherits from FireDAC.Comp.DataSet.TFDDataSet.SaveToStorage. All content below this line refers to FireDAC.Comp.DataSet.TFDDataSet.SaveToStorage.

Saves dataset content into the specified data storage.

The SaveToStorage method saves the content of the dataset into the specified data storage. If AStream is not nil, the content is saved into the stream. If AFileName is not empty, the content is saved into the specified file. The AFormat parameter indicates the storage format.

This is rather an internal FireDAC method. An application should use SaveToStream or SaveToFile methods instead of SaveToStorage.

See Also