Click or drag to resize

GeneralUtilsSetAliasOnPredicate Method

Sets the object alias of all elements in toAlias to the alias specified. It will alias all objects.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static IPredicate SetAliasOnPredicate(
	IPredicate toAlias,
	string newAlias
)

Parameters

toAlias
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
the predicate (or predicate expression) to set the object aliases of.
newAlias
Type: SystemString
the alias to set.

Return Value

Type: IPredicate
updated toAlias
Remarks
This function is specifically designed to be used in generated DTO projections for QuerySpec
See Also