RAD Studio VCL Reference
|
Creates and initializes an instance of TSQLBlobStream.
constructor Create(Field: TBlobField; Mode: TBlobStreamMode = bmRead);
__fastcall TSQLBlobStream(TBlobField Field, TBlobStreamMode Mode = bmRead);
Call Create to obtain an instance of TSQLBlobStream for reading from a specific TBlobField object in a TCustomSQLDataSet descendant.
Field specifies the BLOB field from which to read data.
The Mode parameter is provided for compatibility with other BLOB stream constructors. However, in TSQLBlobStream, the Mode parameter is ignored because dbExpress datasets are read-only. SQL Blob streams can only be used to read BLOB data.
Create links the TSQLBlobStream to the field object specified by the Field parameter. It then calls ReadBlobData to read the information from the BLOB field into a memory buffer, where it is available for reading.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|