Appearance
EnsureTotalOrder Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
IReadOnlyList<OrderBy> EnsureTotalOrder(TableInfo table, IReadOnlyList<OrderBy> orderBy)
csharp
IReadOnlyList<OrderBy> EnsureTotalOrder(TableInfo table, IReadOnlyList<OrderBy> orderBy)Returns orderBy with a PK ascending tie-break when missing, and stamps NULLS LAST.
Parameters
| Name | Description |
|---|---|
orderBy | Existing ORDER BY entries (may be empty). |
table | Root table metadata. |