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
namestringThe alias for this expression in the result set.
elementsIEnumerable<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
namestringThe alias for this expression in the result set.
elementIElementThe element to initialize the expression with.
Expression(IElement)
Creates a new expression with a single element and no name.
public Expression(IElement element)
Parameters
elementIElementThe 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
elementsIEnumerable<IElement>The elements (columns, operators, literals, functions) that make up the expression.