Table of Contents

Class IgniteDbParameter

Namespace
Apache.Ignite.Sql
Assembly
Apache.Ignite.dll

Ignite database parameter.

public sealed class IgniteDbParameter : DbParameter, IDbDataParameter, IDataParameter
Inheritance
IgniteDbParameter
Implements
Inherited Members

Constructors

IgniteDbParameter()

Initializes a new instance of the IgniteDbParameter class.

public IgniteDbParameter()

Properties

DbType

Gets or sets the DbType of the parameter.

public override DbType DbType { get; set; }

Property Value

DbType

One of the DbType values. The default is String.

Exceptions

ArgumentException

The property is not set to a valid DbType.

Direction

Gets or sets the direction of the parameter. Only Input is supported.

public override ParameterDirection Direction { get; set; }

Property Value

ParameterDirection

The direction of the parameter.

IsNullable

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

public override bool IsNullable { get; set; }

Property Value

bool

true if null values are accepted; otherwise false. The default is false.

ParameterName

Gets or sets the name of the DbParameter.

public override string ParameterName { get; set; }

Property Value

string

The name of the DbParameter. The default is an empty string ("").

Size

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

public override int Size { get; set; }

Property Value

int

The maximum size, in bytes, of the data within the column. The default value is inferred from the parameter value.

SourceColumn

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

public override string SourceColumn { get; set; }

Property Value

string

The name of the source column mapped to the DataSet. The default is an empty string.

SourceColumnNullMapping

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

public override bool SourceColumnNullMapping { get; set; }

Property Value

bool

true if the source column is nullable; false if it is not.

Value

Gets or sets the value of the parameter.

public override object? Value { get; set; }

Property Value

object

An object that is the value of the parameter. The default value is null.

Methods

ResetDbType()

Resets the DbType property to its original settings.

public override void ResetDbType()

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.