Adds a columnName and its Alias to the SELECT fragment.

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

Syntax

Visual Basic (Declaration)
Public Function AddColumn ( _
	columnName As String, _
	alias As String _
) As SqlSimpleSelectBuilder
C#
public SqlSimpleSelectBuilder AddColumn(
	string columnName,
	string alias
)
Visual C++
public:
SqlSimpleSelectBuilder^ AddColumn(
	String^ columnName, 
	String^ alias
)
JavaScript
function addColumn(columnName, alias);

Parameters

columnName
Type: System..::.String
The name of the column to add.
alias
Type: System..::.String
The alias to use for the column

Return Value

The SqlSimpleSelectBuilder

See Also