Table of Contents

Constructor Cast

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

Cast(DataType, IElement)

Creates a new cast operation for a single element.

public Cast(DataType dataType, IElement element)

Parameters

dataType DataType

The target data type to cast to.

element IElement

The column or expression to cast.

Cast(DataType, IEnumerable<IElement>)

Creates a new cast operation for multiple elements.

public Cast(DataType dataType, IEnumerable<IElement> elements)

Parameters

dataType DataType

The target data type to cast to.

elements IEnumerable<IElement>

The collection of columns, operators, and expressions to cast.

Cast(DataType, IElement[])

Creates a new cast operation for multiple elements.

public Cast(DataType dataType, IElement[] elements)

Parameters

dataType DataType

The target data type to cast to.

elements IElement[]

The array of columns, operators, and expressions to cast.