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::SQL::ISQLCommandImp Class Reference

Inherits OSGeo::FDO::Commands::ICommandImp, and OSGeo::FDO::Commands::SQL::OSGeo::FDO::Commands::SQL::ISQLCommand.

Inheritance diagram for OSGeo::FDO::Commands::SQL::ISQLCommandImp:

[legend]
List of all members.

Detailed Description

The ISQLCommandImp class is a concrete implementation of ISQLCommand. The ISQLCommand interface defines the SQL command, which supports the execution of a SQL statement against an underlying RDBMS. Two execute methods are provided to distinguish between statements that return table data versus those that execute non query type operations.


Public Member Functions

System::Int32 ExecuteNonQuery ()
 Executes the SQL statement against the connection object and returns the number of rows affected.
OSGeo::FDO::Commands::SQL::ISQLDataReaderExecuteReader ()
 Executes the SQL statement against the connection object and returns an ISQLDataReader.
__property System::String * get_SQLStatement ()
 Gets the SQL statement to be executed as a string.
__property System::Void set_SQLStatement (System::String *value)
 Sets the SQL statement to be executed as a string.

Member Function Documentation

System::Int32 OSGeo::FDO::Commands::SQL::ISQLCommandImp::ExecuteNonQuery  ) 
 

Executes the SQL statement against the connection object and returns the number of rows affected.

Returns:
Returns the number of rows affected.

OSGeo ::FDO ::Commands ::SQL ::ISQLDataReader* OSGeo::FDO::Commands::SQL::ISQLCommandImp::ExecuteReader  ) 
 

Executes the SQL statement against the connection object and returns an ISQLDataReader.

Returns:
Returns the data reader.

__property System::String* OSGeo::FDO::Commands::SQL::ISQLCommandImp::get_SQLStatement  ) 
 

Gets the SQL statement to be executed as a string.

Returns:
Returns the SQL statement.

__property System::Void OSGeo::FDO::Commands::SQL::ISQLCommandImp::set_SQLStatement System::String *  value  ) 
 

Sets the SQL statement to be executed as a string.

Parameters:
value Input the SQL statement.
Returns:
Returns nothing

Comments or suggestions? Send us feedback.