[]
        
(Showing Draft Content)

C1.DataConnector.C1DbParameter

C1DbParameter Class

A class representing a sql data base parameter for C1DataConnector usage

Inheritance
C1DbParameter
Namespace: C1.DataConnector
Assembly: C1.DataConnector.dll
Syntax
public class C1DbParameter : DbParameter, IDbDataParameter, IDataParameter, ICloneable

Constructors

Name Description
C1DbParameter()

C1DbParameter constructor.

C1DbParameter(string)

C1DbParameter constructor.

C1DbParameter(string, DbType, object)

C1DbParameter constructor.

C1DbParameter(string, DbType, string)

C1DbParameter constructor.

C1DbParameter(string, object)

C1DbParameter constructor.

Properties

Name Description
DbType

Get or sets the parameter type.

Direction

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

IsNullable

Gets or sets a value that indicates whether the parameter accepts null values.

ParameterName

Gets or sets the parameter name.

Size

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

SourceColumn

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

SourceColumnNullMapping

Sets or gets a value which indicates whether the source column is nullable. This allows DbCommandBuilder to correctly generate Update statements for nullable columns.

SourceVersion

Gets or sets the DataRowVersion to use when you load Value. Default is Current.

Value

Gets or sets the parameter value.

Methods

Name Description
Clone()

Create a copy of the current C1DbParameter instance.

ResetDbType()

Resets the DbType property to its original settings.