Click or drag to resize

IRelationToggleArtificialAliasingForTargetPerEntityRelations 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 this relation. 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.10.0.0 (5.10.0)
Syntax
void ToggleArtificialAliasingForTargetPerEntityRelations(
	bool enable
)

Parameters

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