FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::Feature::IDataReaderImp Class Reference

Inherits OSGeo::FDO::Commands::Feature::IReaderImp, and OSGeo::FDO::Commands::Feature::OSGeo::FDO::Commands::Feature::IDataReader.

Inheritance diagram for OSGeo::FDO::Commands::Feature::IDataReaderImp:

[legend]
List of all members.

Detailed Description

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


Public Member Functions

OSGeo::FDO::Schema::DataType GetDataType (System::String *name)
 Gets the data type of the property with the specified name.
System::Int32 GetPropertyCount ()
 Gets the number of propertys in the result set.
System::String * GetPropertyName (System::Int32 index)
 Gets the name of the property at the given ordinal position.
OSGeo::FDO::Schema::PropertyType GetPropertyType (System::String *name)
 Gets the 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 PropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.

Member Function Documentation

OSGeo ::FDO ::Schema ::DataType OSGeo::FDO::Commands::Feature::IDataReaderImp::GetDataType System::String *  name  ) 
 

Gets the data type of the property with the specified name.

Parameters:
name Input the property name.
Returns:
Returns the data type of the property corresponding to the property name.

System::Int32 OSGeo::FDO::Commands::Feature::IDataReaderImp::GetPropertyCount  ) 
 

Gets the number of propertys in the result set.

Returns:
Returns the number of propertys.

System::String* OSGeo::FDO::Commands::Feature::IDataReaderImp::GetPropertyName System::Int32  index  ) 
 

Gets the name of the property at the given ordinal position.

Parameters:
index Input the position of the property.
Returns:
Returns the property name

OSGeo ::FDO ::Schema ::PropertyType OSGeo::FDO::Commands::Feature::IDataReaderImp::GetPropertyType System::String *  name  ) 
 

Gets the 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 PropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.

Parameters:
name Input the property name.
Returns:
Returns the property type corresponding to the property name.

Comments or suggestions? Send us feedback.