Get a batch of unloaded identifiers for this class, using a slightly complex algorithm that tries to grab keys registered immediately after the given key.

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

Syntax

Visual Basic (Declaration)
Public Function GetEntityBatch ( _
	persister As IEntityPersister, _
	id As Object, _
	batchSize As Integer _
) As Object()
C#
public Object[] GetEntityBatch(
	IEntityPersister persister,
	Object id,
	int batchSize
)
Visual C++
public:
array<Object^>^ GetEntityBatch(
	IEntityPersister^ persister, 
	Object^ id, 
	int batchSize
)
JavaScript
function getEntityBatch(persister, id, batchSize);

Parameters

persister
Type: NHibernate.Persister.Entity..::.IEntityPersister
The persister for the entities being loaded.
id
Type: System..::.Object
The identifier of the entity currently demanding load.
batchSize
Type: System..::.Int32
The maximum number of keys to return

Return Value

an array of identifiers, of length batchSize (possibly padded with nulls)

See Also