|IDaoFetchExistingPolymorphic 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 fields object has its PK fields filled, which are used to
produce a PK filter.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 18.104.22.168 (5.3.0)
Function FetchExistingPolymorphic (
containingTransaction As ITransaction,
fields As IEntityFields,
contextToUse As Context,
excludedIncludedFields As ExcludeIncludeFieldsList
) As IEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
Fields required for PK construction
- Type: SD.LLBLGen.Pro.ORMSupportClassesContext
Context to use for fetch
- 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.
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.