Click or drag to resize
RelationCollectionIRelationCollectionToggleArtificialAliasingForTargetPerEntityRelations Method
Enables / disables the artificial aliasing for target per entity relations. This method is used to enable the artificial aliasing of entities which are in a hierarchy of TargetPerEntity and which are in the relations of this collection. This is switched on for dyn/typedlist fetches to be sure dyn/typedlists with fields from multiple entities in the same inheritance hierarchy will be retrievable properly, as they need aliasing under the hood but if the developer didn't alias the entities, the query will fail because the supertype(s) aren't joined multiple types.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
void IRelationCollection.ToggleArtificialAliasingForTargetPerEntityRelations(
	bool enable
)

Parameters

enable
Type: SystemBoolean
if set to true, enable artificial aliasing, otherwise false (default).

Implements

IRelationCollectionToggleArtificialAliasingForTargetPerEntityRelations(Boolean)
Remarks
Artificial aliasing is disabled by default
See Also