Click or drag to resize
IRelationCollectionToggleArtificialAliasingForTargetPerEntityRelations 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)
void ToggleArtificialAliasingForTargetPerEntityRelations(
	bool enable


Type: SystemBoolean
if set to true, enable artificial aliasing, otherwise false (default).
Artificial aliasing is disabled by default
See Also