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

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

Syntax

C#
public void AddBatchLoadableEntityKey(
	EntityKey key
)
Visual Basic
Public Sub AddBatchLoadableEntityKey ( _
	key As EntityKey _
)
Visual C++
public:
void AddBatchLoadableEntityKey(
	EntityKey^ key
)

Parameters

key
Type: NHibernate.Engine..::..EntityKey

[Missing <param name="key"/> documentation for "M:NHibernate.Engine.BatchFetchQueue.AddBatchLoadableEntityKey(NHibernate.Engine.EntityKey)"]

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