FireDAC.Comp.DataSet.TFDDataSet.LoadFromStorage

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

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);

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