Click or drag to resize
CqlParameter Class
Represents a Cql parameter.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Data.CommonDbParameter
      Cassandra.DataCqlParameter

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class CqlParameter : DbParameter

The CqlParameter type exposes the following members.

Constructors
  NameDescription
Public methodCqlParameter
Initializes a new instance of the CqlParameter class.
Public methodCqlParameter(String)
Initializes a new instance of the CqlParameter class.
Public methodCqlParameter(String, Object)
Initializes a new instance of the CqlParameter class. The type of the parameter will be guessed from the value.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodResetDbType
Resets the DbType property to its original settings.
(Overrides DbParameterResetDbType.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDbType
Gets or sets the DbType of the parameter.
(Overrides DbParameterDbType.)
Public propertyDirection
Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
(Overrides DbParameterDirection.)
Public propertyIsNullable
Gets a value indicating whether the parameter accepts null values.
(Overrides DbParameterIsNullable.)
Public propertyParameterName
Gets or sets the name of the IDataParameter.
(Overrides DbParameterParameterName.)
Public propertyPrecision
[Supported in the .NET Framework 4.5.1 and later versions] Gets or sets the maximum number of digits used to represent the Value property.
(Inherited from DbParameter.)
Public propertyScale
[Supported in the .NET Framework 4.5.1 and later versions] Gets or sets the number of decimal places to which Value is resolved.
(Inherited from DbParameter.)
Public propertySize
The size of the parameter.
(Overrides DbParameterSize.)
Public propertySourceColumn
Gets or sets the name of the source column that is mapped to the DataSet and used for loading or returning the Value.
(Overrides DbParameterSourceColumn.)
Public propertySourceColumnNullMapping
Sets or gets a value which indicates whether the source column is nullable. This allows DbCommandBuilder to correctly generate Update statements for nullable columns.
(Overrides DbParameterSourceColumnNullMapping.)
Public propertySourceVersion
Gets or sets the DataRowVersion to use when loading Value.
(Overrides DbParameterSourceVersion.)
Public propertyValue
Gets or sets the value of the parameter. If no type information was provided earlier, the type of the parameter will be guessed from the value's type.
(Overrides DbParameterValue.)
Top
See Also