Adds a subselect fetch decriptor for the given entity key.

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

Syntax

C#
public void AddSubselect(
	EntityKey key,
	SubselectFetch subquery
)
Visual Basic
Public Sub AddSubselect ( _
	key As EntityKey, _
	subquery As SubselectFetch _
)
Visual C++
public:
void AddSubselect(
	EntityKey^ key, 
	SubselectFetch^ subquery
)

Parameters

key
Type: NHibernate.Engine..::..EntityKey
The entity for which to register the subselect fetch.
subquery
Type: NHibernate.Engine..::..SubselectFetch
The fetch descriptor.

See Also