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: Dse.Mapping
Assembly: Dse (in Dse.dll) Version: 2.3.0
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