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
)
Public Shared Function SetAliasOnPredicate (
toAlias As IPredicate,
newAlias As String
) As IPredicate
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:
IPredicateupdated toAlias
Remarks This function is specifically designed to be used in generated DTO projections for QuerySpec
See Also