FireDAC.Comp.DataSet.TFDDataSet.LoadFromStorage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromStorage(AStream: TStream; const AFileName: String;  AFormat: TFDStorageFormat); virtual;

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Loads dataset content from the specified data storage.

The LoadFromStorage method loads the content of the dataset from the specified data storage. If AStream is not nil, the content is loaded from the stream. If AFileName is not empty, the content is loaded from the specified file. The AFormat parameter indicates the storage format.

This is rather an internal FireDAC method. An application should use LoadFromStream or LoadFromFile methods instead of LoadFromStorage.

See Also