Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
CopyC#
SELECT
clause ToSqlString(ICriteria, Int32, ICriteriaQuery, IDictionary<(Of <<'(String, IFilter>)>>)). NHibernate always uses column aliases to extract data from the IDataReader, so it is important that these be implemented correctly in order for NHibernate to be able to extract these values correctly.

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

Syntax

C#
string[] GetColumnAliases(
	int position,
	ICriteria criteria,
	ICriteriaQuery criteriaQuery
)
Visual Basic
Function GetColumnAliases ( _
	position As Integer, _
	criteria As ICriteria, _
	criteriaQuery As ICriteriaQuery _
) As String()
Visual C++
array<String^>^ GetColumnAliases(
	int position, 
	ICriteria^ criteria, 
	ICriteriaQuery^ criteriaQuery
)

Parameters

position
Type: System..::..Int32
Just as in ToSqlString(ICriteria, Int32, ICriteriaQuery, IDictionary<(Of <<'(String, IFilter>)>>)), represents the number of columns rendered prior to this projection.
criteria
Type: NHibernate..::..ICriteria
The local criteria to which this project is attached (for resolution).
criteriaQuery
Type: NHibernate.Criterion..::..ICriteriaQuery
The overall criteria query instance.

Return Value

The columns aliases.

See Also