MapperKernelMergeSort Method |
Merge two sort clauses. SQL-Server will error if the same column is used more than once in an ORDER BY clause.
If that happens on a saved sort there's no way to recover without clearing user preferences. This method
will throw out any repeated columns.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected string MergeSort(
string clause1,
string clause2
)
Protected Function MergeSort (
clause1 As String,
clause2 As String
) As String
Parameters
- clause1
- Type: SystemString
The first clause to merge in. - clause2
- Type: SystemString
The second clause to merge in.
Return Value
Type:
StringThe merged clause, with items in the original order.
See Also