Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SAParameter class

 

SAParameter members

Public constructors
Member name Description

SAParameter constructors

Initializes a new instance of the SAParameter class.

Public properties
Member name Description

DbType property

Gets and sets the DbType of the parameter.

Direction property

Gets and sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.

IsNullable property

Gets and sets a value indicating whether the parameter accepts null values.

Offset property

Gets and sets the offset to the Value property.

ParameterName property

Gets and sets the name of the SAParameter.

Precision property

Gets and sets the maximum number of digits used to represent the Value property.

SADbType property

The SADbType of the parameter.

Scale property

Gets and sets the number of decimal places to which Value is resolved.

Size property

Gets and sets the maximum size, in bytes, of the data within the column.

SourceColumn property

Gets and sets the name of the source column mapped to the DataSet and used for loading or returning the value.

SourceColumnNullMapping property

Gets and sets value that indicates whether the source column is nullable. This allows SACommandBuilder to generate Update statements for nullable columns correctly.

SourceVersion property

Gets and sets the DataRowVersion to use when loading Value.

Value property

Gets and sets the value of the parameter.

Public methods
Member name Description

ResetDbType method

Resets the type (the values of DbType and SADbType) associated with this SAParameter.

ToString method

Returns a string containing the ParameterName.

See also