Data.DBXCommon.TDBXReader

From RAD Studio API Documentation
Jump to: navigation, search

Data.DBXCommon.TDBXValueListSystem.TObjectTDBXReader
[–] Properties
Type: class
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: Data.DBXCommon

Delphi

TDBXReader = class(TDBXValueList)

C++

class PASCALIMPLEMENTATION TDBXReader : public TDBXValueList

Description

TDBXReader provides a unidirectional reader for a collection of database rows.

TDBXReader provides a forward only reader for a collection of database rows.

TDBXReader is returned by TDBXCommand.ExecuteQuery. Call TDBXReader.Next to access the first and successive rows in the collection. Row values can be accessed using the Value array property. Value is overloaded so it can be indexed either by ordinal position or by column name.

Note: When an application no longer needs a TDBXReader instance, it should call TDBXReader.Free. This ensures that all resources associated with the TDBXReader are released.

See Also