RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

SelectQuery..::..AddOrderByEnumSegment<(Of <(<'T>)>)> Method (QueryTable, String, OrderByTypes, Boolean)

Adds an order by enumerator segment.

Namespace:  RingSoft.DbLookup.QueryBuilder
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public SelectQuery AddOrderByEnumSegment<T>(
	QueryTable queryTable,
	string fieldName,
	OrderByTypes orderByType,
	bool isCaseSensitive
)
where T : Enum, Enum, Enum, Enum
Public Function AddOrderByEnumSegment(Of T As {Enum, Enum, Enum, Enum}) ( _
	queryTable As QueryTable, _
	fieldName As String, _
	orderByType As OrderByTypes, _
	isCaseSensitive As Boolean _
) As SelectQuery
public:
generic<typename T>
where T : Enum, Enum, Enum, Enum
SelectQuery^ AddOrderByEnumSegment(
	QueryTable^ queryTable, 
	String^ fieldName, 
	OrderByTypes^ orderByType, 
	bool^ isCaseSensitive
)

Type Parameters

T
An enumerator class.

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.

Return Value

This object.