Adds an array of columnNames with their Aliases to the SELECT fragment.

Namespace: NHibernate.SqlCommand
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SqlSimpleSelectBuilder AddColumns(
	string[] columnNames,
	string[] aliases
)
Visual Basic
Public Function AddColumns ( _
	columnNames As String(), _
	aliases As String() _
) As SqlSimpleSelectBuilder
Visual C++
public:
SqlSimpleSelectBuilder^ AddColumns(
	array<String^>^ columnNames, 
	array<String^>^ aliases
)

Parameters

columnNames
Type: array<System..::..String>[]()[][]
The names of the columns to add.
aliases
Type: array<System..::..String>[]()[][]
The aliases to use for the columns

Return Value

The SqlSimpleSelectBuilder

See Also