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
)
Public Shared Function SetAliasOnSortClauses (
sortClauses As List(Of ISortClause),
newAlias As String
) As ISortClause()
Parameters
- sortClauses
- Type: System.Collections.GenericListISortClause
the sortclauses to set the object aliases of. - newAlias
- Type: SystemString
the alias to set.
Return Value
Type:
ISortClauseupdated sortclauses in sortClauses as an array
Remarks This function is specifically designed to be used in generated DTO projections for QuerySpec
See Also