Click or drag to resize

DaoBasePerformPolymorphicEntityFetch Method

Performs the polymorphic entity fetch for the entity type of this DAO. It will produce an entity of that type or a subtype of that type, based on the values retrieved, or an empty entity if not found. The passed in filter, is a filter to be used to filter out the entity to fetch.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
protected IEntity PerformPolymorphicEntityFetch(
	ITransaction containingTransaction,
	IPredicate filter,
	Context contextToUse,
	ExcludeIncludeFieldsList excludedIncludedFields
)

Parameters

containingTransaction
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
Containing transaction.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Filter.
contextToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesContext
Context to use for fetch
excludedIncludedFields
Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The list of IEntityField 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.

Return Value

Type: IEntity
New entity with the data filtered by the passed in PK filter, or an empty entity if not found. Entity can be of type produced by the set entity factory (which produces entities of the type this DAO is for) or a subtype.
See Also