The Projections type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Alias |
Assign an alias to a projection, by wrapping it
| |
| Avg(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A property average value
| |
| Avg(String) |
A property average value
| |
| Avg(IProjection) |
A property average value
| |
| Avg<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A property average value
| |
| Cast |
Casts the projection result to the specified type.
| |
| Concat |
Project SQL function concat()
Note: throws an exception outside of a QueryOver expression
| |
| Conditional |
Conditionally return the true or false part, dependention on the criterion
| |
| Constant(Object) |
Return a constant value
| |
| Constant(Object, IType) |
Return a constant value
| |
| Count(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A property value count
| |
| Count(String) |
A property value count
| |
| Count(IProjection) |
A property value count
| |
| Count<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A property value count
| |
| CountDistinct(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A distinct property value count
| |
| CountDistinct(String) |
A distinct property value count
| |
| CountDistinct<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A distinct property value count
| |
| Distinct |
Create a distinct projection from a projection
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Group(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A grouping property value
| |
| Group<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A grouping property value
| |
| GroupProperty(String) |
A grouping property value
| |
| GroupProperty(IProjection) |
A grouping projection value
| |
| Id |
A projected identifier value
| |
| Max(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A property maximum value
| |
| Max(String) |
A property maximum value
| |
| Max(IProjection) |
A projection maximum value
| |
| Max<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A property maximum value
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Min(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A property minimum value
| |
| Min(String) |
A property minimum value
| |
| Min(IProjection) |
A projection minimum value
| |
| Min<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A property minimum value
| |
| ProjectionList |
Create a new projection list
| |
| Property(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A projected property value
| |
| Property(String) |
A projected property value
| |
| Property<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A projected property value
| |
| RowCount |
The query row count, ie. count(*) | |
| RowCountInt64 |
The query row count, ie. count(*) | |
| SqlFunction(String, IType, array<IProjection>[]()[][]) |
Calls the named ISQLFunction | |
| SqlFunction(ISQLFunction, IType, array<IProjection>[]()[][]) |
Calls the specified ISQLFunction | |
| SqlGroupProjection |
A grouping SQL projection, specifying both select clause and group by clause fragments
| |
| SqlProjection |
A SQL projection, a typed select clause fragment
| |
| SubQuery(DetachedCriteria) | ||
| SubQuery<(Of <<'(T>)>>)(QueryOver<(Of <<'(T>)>>)) | ||
| Sum(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>)) |
A property value sum
| |
| Sum(String) |
A property value sum
| |
| Sum(IProjection) |
A property value sum
| |
| Sum<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Object>)>>)>)>>)) |
A property value sum
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |