Assign an alias to a projection, by wrapping it

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

Syntax

C#
public static IProjection Alias(
	IProjection projection,
	string alias
)
Visual Basic
Public Shared Function Alias ( _
	projection As IProjection, _
	alias As String _
) As IProjection
Visual C++
public:
static IProjection^ Alias(
	IProjection^ projection, 
	String^ alias
)

Parameters

projection
Type: NHibernate.Criterion..::..IProjection

[Missing <param name="projection"/> documentation for "M:NHibernate.Criterion.Projections.Alias(NHibernate.Criterion.IProjection,System.String)"]

alias
Type: System..::..String

[Missing <param name="alias"/> documentation for "M:NHibernate.Criterion.Projections.Alias(NHibernate.Criterion.IProjection,System.String)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.Alias(NHibernate.Criterion.IProjection,System.String)"]

See Also