Namespaces

Types

Type Projections

Namespace NHibernate.Expression

Methods

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public static methods

IProjection Alias(IProjection projection, string alias)

Assign an alias to a projection, by wrapping it
Parameters
return IProjection
IProjection projection
string alias

AggregateProjection Avg(string propertyName)

A property average value
Parameters
return AggregateProjection
string propertyName

CountProjection Count(string propertyName)

A property value count
Parameters
return CountProjection
string propertyName

CountProjection CountDistinct(string propertyName)

A distinct property value count
Parameters
return CountProjection
string propertyName

IProjection Distinct(IProjection proj)

Create a distinct projection from a projection
Parameters
return IProjection
IProjection proj

PropertyProjection GroupProperty(string propertyName)

A grouping property value
Parameters
return PropertyProjection
string propertyName

IdentifierProjection Id()

A projected identifier value
Parameters
return IdentifierProjection

AggregateProjection Max(string propertyName)

A property maximum value
Parameters
return AggregateProjection
string propertyName

AggregateProjection Min(string propertyName)

A property minimum value
Parameters
return AggregateProjection
string propertyName

ProjectionList ProjectionList()

Create a new projection list
Parameters
return ProjectionList

PropertyProjection Property(string propertyName)

A projected property value
Parameters
return PropertyProjection
string propertyName

IProjection RowCount()

The query row count, ie.
Parameters
return IProjection

IProjection SqlGroupProjection(string sql, string groupBy, String[] columnAliases, IType[] types)

Parameters
return IProjection
string sql
string groupBy
String[] columnAliases
IType[] types

IProjection SqlProjection(string sql, String[] columnAliases, IType[] types)

Parameters
return IProjection
string sql
String[] columnAliases
IType[] types

AggregateProjection Sum(string propertyName)

A property value sum
Parameters
return AggregateProjection
string propertyName