Click or drag to resize
IDaoGetMulti Method (ITransaction, IEntityCollection, Int64, ISortExpression, IEntityFactory, IPredicate, IRelationCollection, IPrefetchPath)
Retrieves in the calling entity collection object all entity objects which match with the specified filter, formulated in the predicate or predicate expression definition, using the passed in relations to construct the total query. It will also prefetch all related objects defined in the prefetchpath specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
bool GetMulti(
	ITransaction containingTransaction,
	IEntityCollection collectionToFill,
	long maxNumberOfItemsToReturn,
	ISortExpression sortClauses,
	IEntityFactory entityFactoryToUse,
	IPredicate selectFilter,
	IRelationCollection relations,
	IPrefetchPath prefetchPathToUse


Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not.
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
Collection to fill with the entity objects retrieved
Type: SystemInt64
The maximum number of items to return with this retrieval query. If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return. When set to 0, no limitations are specified.
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When not specified, no sorting is applied.
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory
The EntityFactory to use when creating entity objects during a GetMulti() call.
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A predicate or predicate expression which should be used as filter for the entities to retrieve.
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The set of relations to walk to construct to total query.
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPath
the PrefetchPath which defines the graph of objects to fetch.

Return Value

Type: Boolean
true if succeeded, false otherwise
See Also