Click or drag to resize

GeneralUtilsSetAliasOnSortClauses Method

Sets the object alias of all ISortClause elements in sortClauses 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 ISortClause[] SetAliasOnSortClauses(
	List<ISortClause> sortClauses,
	string newAlias
)

Parameters

sortClauses
Type: System.Collections.GenericListISortClause
the sortclauses to set the object aliases of.
newAlias
Type: SystemString
the alias to set.

Return Value

Type: ISortClause
updated sortclauses in sortClauses as an array
Remarks
This function is specifically designed to be used in generated DTO projections for QuerySpec
See Also