Click or drag to resize
IMapperConvertCqlArgumentTValue, TDatabase Method
Allows you to convert an argument/bind variable value being used in a CQL statement using the same converters that are being used by the client internally, including any user-defined conversions if you configured them. Will convert a value of Type TValue to a value of Type TDatabase or throw an InvalidOperationException if no converter is available.

Namespace: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
TDatabase ConvertCqlArgument<TValue, TDatabase>(
	TValue value
)

Parameters

value
Type: TValue
The value to convert.

Type Parameters

TValue
The original Type of the value.
TDatabase
The Type expected by Cassandra to convert to.

Return Value

Type: TDatabase
The converted value.
See Also