FireDAC.Comp.Client.TFDCustomSchemaAdapter.LoadFromStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromStream(AStream: TStream; AFormat: TFDStorageFormat = sfAuto);

C++

void __fastcall LoadFromStream(System::Classes::TStream* AStream, Firedac::Stan::Intf::TFDStorageFormat AFormat = (Firedac::Stan::Intf::TFDStorageFormat)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomSchemaAdapter

Description

Loads the content of the datasets associated with a TFDCustomSchemaAdapter from a stream.

Call the LoadFromStream procedure to load the content of the datasets associated with TFDCustomSchemaAdapter from a specific stream with a specific format.

AStream is the reference to the stream, containing the adapter to load.

AFormat is the file format:

Note: LoadFromStream tries to load from the stream the items specified by ResourceOptions.StoreItems. If the stream was written with a different StoreItems value, then an exception is raised.

See Also