# FdoIDataReader Class Reference

`#include <IDataReader.h>`

Inheritance diagram for FdoIDataReader:

[legend]

List of all members.

## Detailed Description

The FdoIDataReader interface provides a forward-only, read-only iterator for reading relational table data. A reference to an FdoIDataReader is returned from the SQLCommands ExecuteReader method. The initial position of the FdoIDataReader interface is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Definition at line 33 of file IDataReader.h.

## Public Member Functions
virtual FDO_API FdoDataType | GetDataType (FdoString *propertyName)=0
| Gets the data type of the property with the specified name.
virtual FDO_API FdoInt32 | GetPropertyCount ()=0
| Gets the number of propertys in the result set.
virtual FDO_API FdoString * | GetPropertyName (FdoInt32 index)=0
| Gets the name of the property at the given ordinal position.
virtual FDO_API FdoPropertyType | GetPropertyType (FdoString *propertyName)=0
| Gets the FDO property type of a given property. This is used to indicate if a given property is a geometric property or a data property. If the property is a FdoPropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.

The documentation for this class was generated from the following file:

- IDataReader.h