public BatchingCollectionInitializer( ICollectionPersister collPersister, int batchSize, Loader batchLoader, int smallBatchSize, Loader smallBatchLoader, Loader nonBatchLoader ) { this.batchLoader = batchLoader; this.nonBatchLoader = nonBatchLoader; this.batchSize = batchSize; this.collectionPersister = collPersister; this.smallBatchLoader = smallBatchLoader; this.smallBatchSize = smallBatchSize; }
public BatchingEntityLoader( IClassPersister persister, int batchSize, Loader batchLoader, int smallBatchSize, Loader smallBatchLoader, Loader nonBatchLoader ) { this.batchLoader = batchLoader; this.nonBatchLoader = nonBatchLoader; this.batchSize = batchSize; this.persister = persister; this.smallBatchLoader = smallBatchLoader; this.smallBatchSize = smallBatchSize; idType = persister.IdentifierType; }