SqlHelperOrderByContains Method |
Returns true if the order by expression contains column sorted the specified way.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public static bool OrderByContains(
string orderBy,
string column,
bool ascending
)
Parameters
- orderBy
- Type: SystemString
Order by expression to check - column
- Type: SystemString
Column to check - ascending
- Type: SystemBoolean
Direction
Return Value
Type:
BooleanSee Also