C# Class CqlSharp.CqlParameter

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

Private Properties

Свойство Type Description
CheckFixed void
CqlParameter System
Serialize byte[]
SetParameterName void

Méthodes publiques

Méthode 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

Méthode 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 méthode

Clones this instance.
public Clone ( ) : CqlParameter
Résultat CqlParameter

CqlParameter() public méthode

Initializes a new instance of the CqlParameter class.
public CqlParameter ( ) : System
Résultat System

CqlParameter() public méthode

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

CqlParameter() public méthode

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

CqlParameter() public méthode

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.
Résultat System

CqlParameter() public méthode

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.
Résultat System

CqlParameter() public méthode

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.
Résultat System

ResetDbType() public méthode

Resets the DbType property to its original settings.
public ResetDbType ( ) : void
Résultat void