Table of Contents

Method HasSelectItem

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

HasSelectItem(ISelectItem)

Determines whether the specified select item is present in the SELECT clause of this query.

public bool HasSelectItem(ISelectItem selectItem)

Parameters

selectItem ISelectItem

The select item to look for.

Returns

bool

true if the select item is in the SELECT clause; otherwise, false.

HasSelectItem(string)

Determines whether a select item with the specified name is present in the SELECT clause of this query.

public bool HasSelectItem(string name)

Parameters

name string

The column or alias name to look for.

Returns

bool

true if a matching select item is in the SELECT clause; otherwise, false.