The Projections type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAlias
Assign an alias to a projection, by wrapping it
Public methodStatic memberAvg(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A property average value
Public methodStatic memberAvg(String)
A property average value
Public methodStatic memberAvg(IProjection)
A property average value
Public methodStatic memberAvg<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A property average value
Public methodStatic memberCast
Casts the projection result to the specified type.
Public methodStatic memberConcat
Project SQL function concat() Note: throws an exception outside of a QueryOver expression
Public methodStatic memberConditional
Conditionally return the true or false part, dependention on the criterion
Public methodStatic memberConstant(Object)
Return a constant value
Public methodStatic memberConstant(Object, IType)
Return a constant value
Public methodStatic memberCount(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A property value count
Public methodStatic memberCount(String)
A property value count
Public methodStatic memberCount(IProjection)
A property value count
Public methodStatic memberCount<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A property value count
Public methodStatic memberCountDistinct(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A distinct property value count
Public methodStatic memberCountDistinct(String)
A distinct property value count
Public methodStatic memberCountDistinct<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A distinct property value count
Public methodStatic memberDistinct
Create a distinct projection from a projection
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGroup(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A grouping property value
Public methodStatic memberGroup<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A grouping property value
Public methodStatic memberGroupProperty(String)
A grouping property value
Public methodStatic memberGroupProperty(IProjection)
A grouping projection value
Public methodStatic memberId
A projected identifier value
Public methodStatic memberMax(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A property maximum value
Public methodStatic memberMax(String)
A property maximum value
Public methodStatic memberMax(IProjection)
A projection maximum value
Public methodStatic memberMax<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A property maximum value
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMin(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A property minimum value
Public methodStatic memberMin(String)
A property minimum value
Public methodStatic memberMin(IProjection)
A projection minimum value
Public methodStatic memberMin<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A property minimum value
Public methodStatic memberProjectionList
Create a new projection list
Public methodStatic memberProperty(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A projected property value
Public methodStatic memberProperty(String)
A projected property value
Public methodStatic memberProperty<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A projected property value
Public methodStatic memberRowCount
The query row count, ie. count(*)
Public methodStatic memberRowCountInt64
The query row count, ie. count(*)
Public methodStatic memberSqlFunction(String, IType, array<IProjection>[]()[][])
Calls the named ISQLFunction
Public methodStatic memberSqlFunction(ISQLFunction, IType, array<IProjection>[]()[][])
Calls the specified ISQLFunction
Public methodStatic memberSqlGroupProjection
A grouping SQL projection, specifying both select clause and group by clause fragments
Public methodStatic memberSqlProjection
A SQL projection, a typed select clause fragment
Public methodStatic memberSubQuery(DetachedCriteria)
Public methodStatic memberSubQuery<(Of <<'(T>)>>)(QueryOver<(Of <<'(T>)>>))
Public methodStatic memberSum(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
A property value sum
Public methodStatic memberSum(String)
A property value sum
Public methodStatic memberSum(IProjection)
A property value sum
Public methodStatic memberSum<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>))
A property value sum
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

See Also