Table of Contents

Constructor Expression

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

Expression(string, IEnumerable<IElement>)

Creates a new expression with the specified name and elements.

public Expression(string name, IEnumerable<IElement> elements)

Parameters

name string

The alias for this expression in the result set.

elements IEnumerable<IElement>

The elements (columns, operators, literals, functions) that make up the expression.

Expression(string, IElement)

Creates a new expression with the specified name and a single element.

public Expression(string name, IElement element)

Parameters

name string

The alias for this expression in the result set.

element IElement

The element to initialize the expression with.

Expression(IElement)

Creates a new expression with a single element and no name.

public Expression(IElement element)

Parameters

element IElement

The element to initialize the expression with.

Expression()

Creates a new empty expression.

public Expression()

Remarks

Use the Add(IElement) method to add elements to the expression.

Expression(IEnumerable<IElement>)

Creates a new expression with the specified elements and no name.

public Expression(IEnumerable<IElement> elements)

Parameters

elements IEnumerable<IElement>

The elements (columns, operators, literals, functions) that make up the expression.