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

SqliteSelectSqlGenerator..::..FormatOrderByTableFieldSql Method

Formats the order by fragment. Used by derived classes to add case sensitivity and other SQL text to the order by Table.Field parameter.

Namespace:  RingSoft.DbLookup.DataProcessor.SelectSqlGenerator
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public string FormatOrderByTableFieldSql(
	string orderByTableFieldSql,
	OrderBySegment orderBySegment
)
Public Function FormatOrderByTableFieldSql ( _
	orderByTableFieldSql As String, _
	orderBySegment As OrderBySegment _
) As String
public:
String^ FormatOrderByTableFieldSql(
	String^ orderByTableFieldSql, 
	OrderBySegment^ orderBySegment
)

Parameters

orderByTableFieldSql
Type: String
The order by Table.Field SQL string.
orderBySegment
Type: RingSoft.DbLookup.QueryBuilder..::..OrderBySegment
The order by segment object.

Return Value

The formatted order by Table.Field SQL text. If this method is not overriden, this returns the order by Table.Field SQL text parameter.