SelectQuery..::..AddOrderBySegment Method (QueryTable, String, OrderByTypes, Boolean)
Adds an order by segment.
Namespace:
RingSoft.DbLookup.QueryBuilderAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public SelectQuery AddOrderBySegment( QueryTable queryTable, string fieldName, OrderByTypes orderByType, bool isCaseSensitive )
Public Function AddOrderBySegment ( _ queryTable As QueryTable, _ fieldName As String, _ orderByType As OrderByTypes, _ isCaseSensitive As Boolean _ ) As SelectQuery
public: SelectQuery^ AddOrderBySegment( QueryTable^ queryTable, String^ fieldName, OrderByTypes^ orderByType, bool^ isCaseSensitive )
Parameters
- queryTable
- Type: RingSoft.DbLookup.QueryBuilder..::..QueryTable
The query table.
- fieldName
- Type: String
Name of the field.
- orderByType
- Type: RingSoft.DbLookup.QueryBuilder..::..OrderByTypes
Type of the order by.
- isCaseSensitive
- Type: Boolean
Is order by case sensitive. By default it is set to false.