(Adapter v2.6)
A developer was migrating code to v2.6 that used SortClauseFactory. He was setting alias and was having trouble setting them with the new syntax. The following was the best I could come up with. Is there a way to set the alias in the constructor? or a less ugly way to set it after the fact.
var sortExpression = new SortExpression(CustomerFields.CustomerCode | SortOperator.Ascending);
sortExpression[0].ObjectAlias = "Cust";