Creates a new IQueryOver{T}; for the entity class.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IQueryOver<T, T> QueryOver<T>(
	string entityName
)
where T : class
Visual Basic
Function QueryOver(Of T As Class) ( _
	entityName As String _
) As IQueryOver(Of T, T)
Visual C++
generic<typename T>
where T : ref class
IQueryOver<T, T>^ QueryOver(
	String^ entityName
)

Parameters

entityName
Type: System..::..String
The name of the entity to Query

Type Parameters

T
The entity class

Return Value

An IQueryOver{T} object

See Also