If an EntityKey represents a batch loadable entity, add
it to the queue.
Namespace:
NHibernate.EngineAssembly: 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); |
Parameters
- key
- Type: 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.