A SQL fragment. The string {alias} will be replaced by the alias of the root entity.

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

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public NotInheritable Class SQLProjection _
	Implements IProjection
C#
[SerializableAttribute]
public sealed class SQLProjection : IProjection
Visual C++
[SerializableAttribute]
public ref class SQLProjection sealed : IProjection
JavaScript
NHibernate.Expression.SQLProjection = function();

Type.createClass(
	'NHibernate.Expression.SQLProjection',
	null,
	NHibernate.Expression.IProjection);

Inheritance Hierarchy

System..::.Object
  NHibernate.Expression..::.SQLProjection

See Also