MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgParameter Class Reference

The MgParameter class specifies a value for a particular parameter. Instances of this class are used to specify a value to bind to a parameter when a command is executed. Typically, it is used to bind parameters to the SQL command. More...

+ Inheritance diagram for MgParameter:

List of all members.

Public Member Functions

INT32 GetDirection ()
 Gets the function direction value of the the command parameter, which is defined in MgParameterDirection.
STRING GetName ()
 Gets the parameter name.
MgNullablePropertyGetProperty ()
 Gets the name and value of the parameter.
 MgParameter (MgNullableProperty *prop)
 Constructs an MgParameter object. The default parameter direction is input.
 MgParameter (MgNullableProperty *prop, INT32 direction)
 Constructs an MgParameter object with the specified parameter name, value, and direction.
void SetDirection (INT32 value)
 Sets the function direction of the parameter value, which is defined in MgParameterDirection.
void SetName (CREFSTRING name)
 
void SetProperty (MgNullableProperty *prop)
 Sets the name and value of the parameter.

Detailed Description

The MgParameter class specifies a value for a particular parameter. Instances of this class are used to specify a value to bind to a parameter when a command is executed. Typically, it is used to bind parameters to the SQL command.

Since:
2.2