If an EntityKey represents a batch loadable entity, add it to the queue.

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

Syntax

Visual Basic (Declaration)
Public Sub AddBatchLoadableEntityKey ( _
	key As EntityKey _
)
C#
public void AddBatchLoadableEntityKey(
	EntityKey key
)
Visual C++
public:
void AddBatchLoadableEntityKey(
	EntityKey^ key
)
JavaScript
function addBatchLoadableEntityKey(key);

Remarks

Note that the contract here is such that any key passed in should previously have been been checked for existence within the ISession; failure to do so may cause the referenced entity to be included in a batch even though it is already associated with the ISession.

See Also