MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgTempTable.LoadDatasetFromStream
TMsgDatabase
Top 

Loads all records and table structure.

Delphi syntax:
procedure LoadDatasetFromStream(var Dataset: TDataset; Stream: TStream); virtual; abstract;

C++ syntax:

virtual void __fastcall LoadDatasetFromStream(Db::TDataSet* &Dataset, Classes::TStream* Stream) = 0 ;

Description
LoadDatasetFromStream is used internally by MsgCommunicator for loading all records and table structure of the dataset from the stream. This method creates tempoaray table component and returns it in Dataset parameter.
Dataset - new TDataset descendant object (temporary table) with data and structure loaded from the stream.
Stream - TStream descendant object with table data and structure saved by SaveDatasetToStream.
TMsgTempTable descendant must override this method to provide code for loading dataset from stream.


© AidAim Software MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sdk