Create an alias for the previous projection

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

Syntax

C#
public QueryOverProjectionBuilder<T> WithAlias(
	Expression<Func<Object>> alias
)
Visual Basic
Public Function WithAlias ( _
	alias As Expression(Of Func(Of Object)) _
) As QueryOverProjectionBuilder(Of T)
Visual C++
public:
QueryOverProjectionBuilder<T>^ WithAlias(
	Expression<Func<Object^>^>^ alias
)

Parameters

alias
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'Object>)>)>>)>)>

[Missing <param name="alias"/> documentation for "M:NHibernate.Criterion.Lambda.QueryOverProjectionBuilder`1.WithAlias(System.Linq.Expressions.Expression{System.Func{System.Object}})"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Lambda.QueryOverProjectionBuilder`1.WithAlias(System.Linq.Expressions.Expression{System.Func{System.Object}})"]

See Also