You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I were to write this in plain SQL for a tool such as DBeaver it would look like this:
ORDER BY
CASE WHEN
SomeProperty ='Preferred Value'AND AnotherProperty ='2nd Preferred'
THEN 0 ELSE 1
END ASC,
SomeProperty ASC,
AnotherProperty ASC
When I try to run the C# code I get a System.NotSupportedException: 'Order By does not support: [I believe this is the Expression.ToString() from the first OrderBy function in the C# code]. If there is a different way to achieve this sort or have I missed something? Please let me know. Otherwise, could we consider supporting something like this?
Thanks.
The text was updated successfully, but these errors were encountered:
Adding more info. One of my customers wants a list of work sites ordered by a secondary id then a primary id. However, they want an exception to this sort where the users default work site sits on top.
I have a use case that does not appear to be supported. Please observe this example:
If I were to write this in plain SQL for a tool such as DBeaver it would look like this:
When I try to run the C# code I get a System.NotSupportedException: 'Order By does not support: [I believe this is the Expression.ToString() from the first OrderBy function in the C# code]. If there is a different way to achieve this sort or have I missed something? Please let me know. Otherwise, could we consider supporting something like this?
Thanks.
The text was updated successfully, but these errors were encountered: