- Code: Select all
' Order by LastName
' (you can add as many order by columns as you like by repeatedly calling this)
emps.Query.AddOrderBy(Employees.ColumnNames.PersonLastName, WhereParameter.Dir.ASC)
- Code: Select all
' Order by LastName
' (you can add as many order by columns as you like by repeatedly calling this)
emps.Query.AddOrderBy(\"LastName\", WhereParameter.Dir.ASC)
What I would like is to be able to sort by using the alias:
- Code: Select all
' Order by LastName
' (you can add as many order by columns as you like by repeatedly calling this)
emps.Query.AddOrderByAlias(\"PersonLastName\", WhereParameter.Dir.ASC)
If the alias does not exist, then throw an exception (or ignore the statement)
