The IQueryOver<(Of <(<'TRoot, TSubType>)>)> type exposes the following members.

Methods

  NameDescription
Public methodAnd(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Add criterion expressed as a lambda expression
Public methodAnd(Expression<(Of <<'(Func<(Of <<'(TSubType, Boolean>)>>)>)>>))
Add criterion expressed as a lambda expression
Public methodAnd(ICriterion)
Add arbitrary ICriterion (e.g., to allow protected member access)
Public methodAndNot(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Add negation of criterion expressed as a lambda expression
Public methodAndNot(Expression<(Of <<'(Func<(Of <<'(TSubType, Boolean>)>>)>)>>))
Add negation of criterion expressed as a lambda expression
Public methodAndRestrictionOn(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Add restriction to a property
Public methodAndRestrictionOn(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>))
Add restriction to a property
Public methodCacheable
Enable caching of this query result set
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodCacheMode
Override the cache mode for this particular query.
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodCacheRegion
Set the name of the cache region.
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodClearOrders
Clear all orders from the query.
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodClone
Creates an exact clone of the IQueryOver
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodFetch
Specify an association fetching strategy. Currently, only one-to-many and one-to-one associations are supported.
Public methodFuture()()()()
Get a enumerable that when enumerated will execute a batch of queries in a single database roundtrip
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodFutureValue()()()()
Get an IFutureValue instance, whose value can be retrieved through its Value property. The query is not executed until the Value property is retrieved, which will execute other Future queries as well in a single roundtrip
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodJoinAlias(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Join an association, assigning an alias to the joined entity
Public methodJoinAlias(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Join an association, assigning an alias to the joined entity
Public methodJoinAlias(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>), JoinType)
Join an association, assigning an alias to the joined entity
Public methodJoinAlias(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>), JoinType)
Join an association, assigning an alias to the joined entity
Public methodJoinAlias<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Join an association, assigning an alias to the joined entity
Public methodJoinAlias<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Join an association, assigning an alias to the joined entity
Public methodJoinAlias<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Join an association, assigning an alias to the joined entity
Public methodJoinAlias<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Join an association, assigning an alias to the joined entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>))
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, IEnumerable<(Of <<'(U>)>>)>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.
Public methodJoinQueryOver<(Of <<'(U>)>>)(Expression<(Of <<'(Func<(Of <<'(TSubType, U>)>>)>)>>), Expression<(Of <<'(Func<(Of <<'(U>)>>)>)>>), JoinType, ICriterion)
Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity
Public methodList()()()()
Get the results of the root type and fill the IList<(Of <(<'T>)>)>
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodLock()()()()
Set the lock mode of the current entity
Public methodLock(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Set the lock mode of the aliased entity
Public methodOrderBy(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Add order expressed as a lambda expression
Public methodOrderBy(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>))
Add order expressed as a lambda expression
Public methodOrderBy(IProjection)
Order by arbitrary IProjection (e.g., to allow protected member access)
Public methodOrderByAlias
Add order for an aliased projection expressed as a lambda expression
Public methodReadOnly
Set the read-only mode for entities (and proxies) loaded by this QueryOver. (see SetReadOnly(Boolean)).
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodRowCount
Short for ToRowCountQuery().SingleOrDefault<int>()
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodRowCountInt64
Short for ToRowCountInt64Query().SingleOrDefault<long>()
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodSelect(array<Expression<(Of <<'(Func<(Of <<'(TRoot, Object>)>>)>)>>)>[]()[][])
Add projection expressed as a lambda expression
Public methodSelect(array<IProjection>[]()[][])
Add arbitrary IProjections to query
Public methodSelectList
Create a list of projections using a projection builder
Public methodSingleOrDefault()()()()
Convenience method to return a single instance that matches the query, or null if the query returns no results.
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodSkip
Set the first result to be retrieved
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodTake
Set a limit upon the number of objects to be retrieved
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodThenBy(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Add order expressed as a lambda expression
Public methodThenBy(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>))
Add order expressed as a lambda expression
Public methodThenBy(IProjection)
Order by arbitrary IProjection (e.g., to allow protected member access)
Public methodThenByAlias
Add order for an aliased projection expressed as a lambda expression
Public methodToRowCountInt64Query
Clones the QueryOver, removes orders and paging, and projects the row-count (Int64) for the query
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodToRowCountQuery
Clones the QueryOver, removes orders and paging, and projects the row-count for the query
(Inherited from IQueryOver<(Of <(<'TRoot>)>)>.)
Public methodTransformUsing
Transform the results using the supplied IResultTransformer
Public methodWhere(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Identical semantics to And() to allow more readable queries
Public methodWhere(Expression<(Of <<'(Func<(Of <<'(TSubType, Boolean>)>>)>)>>))
Identical semantics to And() to allow more readable queries
Public methodWhere(ICriterion)
Add arbitrary ICriterion (e.g., to allow protected member access)
Public methodWhereNot(Expression<(Of <<'(Func<(Of <<'(Boolean>)>>)>)>>))
Identical semantics to AndNot() to allow more readable queries
Public methodWhereNot(Expression<(Of <<'(Func<(Of <<'(TSubType, Boolean>)>>)>)>>))
Identical semantics to AndNot() to allow more readable queries
Public methodWhereRestrictionOn(Expression<(Of <<'(Func<(Of <<'(Object>)>>)>)>>))
Identical semantics to AndRestrictionOn() to allow more readable queries
Public methodWhereRestrictionOn(Expression<(Of <<'(Func<(Of <<'(TSubType, Object>)>>)>)>>))
Identical semantics to AndRestrictionOn() to allow more readable queries

Properties

  NameDescription
Public propertyFull
Public propertyInner
Public propertyLeft
Public propertyRight
Public propertyRootCriteria
Access the root underlying ICriteria
(Inherited from IQueryOver.)
Public propertyUnderlyingCriteria
Access the underlying ICriteria
(Inherited from IQueryOver.)
Public propertyWithSubquery
Add a subquery expression

See Also