IDataAccessAdapterFetchEntityCollection Method (QueryParameters) |
Fetches one or more entities which match the filter information in the parameters into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize
is smaller than the set
ParameterisedPrefetchPathThreshold. If pagesize is larger than the limits set for
the
ParameterisedPrefetchPathThreshold value, the query is likely to be slower than expected, though will work.
If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax Exceptions Exception | Condition |
---|
ArgumentException | If the passed in collectionToFill doesn't contain an entity factory. |
See Also