C# Class CqlSharp.CqlParameter

Represents a single parameter for use with CqlCommands
Inheritance: System.Data.Common.DbParameter
Mostrar archivo Open project: reuzel/CqlSharp

Private Properties

Property Type Description
CheckFixed void
CqlParameter System
Serialize byte[]
SetParameterName void

Public Methods

Method Description
Clone ( ) : CqlParameter

Clones this instance.

CqlParameter ( ) : System

Initializes a new instance of the CqlParameter class.

CqlParameter ( string name ) : System

Initializes a new instance of the CqlParameter class.

CqlParameter ( string name, CqlType type ) : System

Initializes a new instance of the CqlParameter class.

CqlParameter ( string name, object value ) : System

Initializes a new instance of the CqlParameter class. The typeCode of the parameter will be guessed from the value.

CqlParameter ( string table, string name, CqlType type ) : System

Initializes a new instance of the CqlParameter class.

CqlParameter ( string keyspace, string table, string name, CqlType type ) : System

Initializes a new instance of the CqlParameter class.

ResetDbType ( ) : void

Resets the DbType property to its original settings.

Private Methods

Method Description
CheckFixed ( ) : void

Checks if the typeCode or name of the parameter may be changed

CqlParameter ( Column column ) : System
Serialize ( byte protocolVersion ) : byte[]

Serializes this parameter.

SetParameterName ( string value ) : void

Sets the name of the parameter.

Method Details

Clone() public method

Clones this instance.
public Clone ( ) : CqlParameter
return CqlParameter

CqlParameter() public method

Initializes a new instance of the CqlParameter class.
public CqlParameter ( ) : System
return System

CqlParameter() public method

Initializes a new instance of the CqlParameter class.
public CqlParameter ( string name ) : System
name string The name.
return System

CqlParameter() public method

Initializes a new instance of the CqlParameter class.
public CqlParameter ( string name, CqlType type ) : System
name string The name.
type CqlType The typeCode.
return System

CqlParameter() public method

Initializes a new instance of the CqlParameter class. The typeCode of the parameter will be guessed from the value.
public CqlParameter ( string name, object value ) : System
name string The name.
value object The value.
return System

CqlParameter() public method

Initializes a new instance of the CqlParameter class.
public CqlParameter ( string table, string name, CqlType type ) : System
table string The table.
name string The name.
type CqlType The typeCode.
return System

CqlParameter() public method

Initializes a new instance of the CqlParameter class.
public CqlParameter ( string keyspace, string table, string name, CqlType type ) : System
keyspace string The keyspace.
table string The table.
name string The name.
type CqlType The typeCode.
return System

ResetDbType() public method

Resets the DbType property to its original settings.
public ResetDbType ( ) : void
return void