QueryOver<TRoot,TSubType> is an API for retrieving entities by composing
Expression objects expressed using Lambda expression syntax.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public interface IQueryOver<TRoot, TSubType> : IQueryOver<TRoot>, IQueryOver |
Visual Basic |
---|
Public Interface IQueryOver(Of TRoot, TSubType) _ Inherits IQueryOver(Of TRoot), IQueryOver |
Visual C++ |
---|
generic<typename TRoot, typename TSubType> public interface class IQueryOver : IQueryOver<TRoot>, IQueryOver |
Type Parameters
- TRoot
[Missing <typeparam name="TRoot"/> documentation for "T:NHibernate.IQueryOver`2"]
- TSubType
[Missing <typeparam name="TSubType"/> documentation for "T:NHibernate.IQueryOver`2"]
Remarks
CopyC#
IList<Cat> cats = session.QueryOver<Cat>()
.Where( c => c.Name == "Tigger" )
.And( c => c.Weight > minWeight ) )
.List();