| 373 | === Interface IDataReader === |
| 374 | |
| 375 | {{{ |
| 376 | /// \brief |
| 377 | /// The FdoIDataReader interface provides a forward-only, read-only |
| 378 | /// iterator for reading relational table data. A reference to an |
| 379 | /// FdoIDataReader is returned from the SQLCommands ExecuteReader method. |
| 380 | /// The initial position of the FdoIDataReader interface is prior to the first item. |
| 381 | /// Thus, you must call ReadNext to begin accessing any data. |
| 382 | class FdoIDataReader: public FdoIReader |
| 383 | { |
| 384 | public: |
| 385 | ... |
| 386 | ... |
| 387 | ... |
| 388 | /// \brief |
| 389 | /// Gets the data type of the property at the specified index position. |
| 390 | /// |
| 391 | /// \param index |
| 392 | /// Input the index of the property. |
| 393 | /// |
| 394 | /// \return |
| 395 | /// Returns the type of the property. |
| 396 | /// |
| 397 | FDO_API virtual FdoDataType GetDataType(FdoInt32 index); |
| 398 | |
| 399 | /// \brief |
| 400 | /// Gets the FDO property type of the property at the given index. This is used |
| 401 | /// to indicate if a given property is a geometric property or a data property. |
| 402 | /// If the property is a FdoPropertyType_DataProperty, then GetDataType |
| 403 | /// can be used to to find the data type of the property. |
| 404 | /// |
| 405 | /// \param index |
| 406 | /// Input the index of the property. |
| 407 | /// |
| 408 | /// \return |
| 409 | /// Returns the FDO property type. |
| 410 | /// |
| 411 | FDO_API virtual FdoPropertyType GetPropertyType(FdoInt32 index); |
| 412 | }; |
| 413 | }}} |
| 414 | |
| 415 | |