Click or drag to resize
DataAccessAdapterCoreFetchEntityCollection Method (IEntityCollection2, ExcludeIncludeFieldsList, IRelationPredicateBucket)
Fetches one or more entities which match the filter information in the filterBucket 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. This overload returns all found entities and doesn't apply sorting

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public void FetchEntityCollection(
	IEntityCollection2 collectionToFill,
	ExcludeIncludeFieldsList excludedIncludedFields,
	IRelationPredicateBucket filterBucket
)

Parameters

collectionToFill
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
EntityCollection object containing an entity factory which has to be filled
excludedIncludedFields
Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The list of IEntityField2 objects which have to be excluded or included for the fetch. If null or empty, all fields are fetched (default). If an instance of ExcludeIncludeFieldsList is passed in and its ExcludeContainedFields property is set to false, the fields contained in excludedIncludedFields are kept in the query, the rest of the fields in the query are excluded.
filterBucket
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information for retrieving the entities. If null, all entities are returned of the type created by the factory in the passed in EntityCollection instance.

Implements

IDataAccessAdapterFetchEntityCollection(IEntityCollection2, ExcludeIncludeFieldsList, IRelationPredicateBucket)
See Also