ok, so I was running into an issue where when I tried to return an object that contained an LTree type, "The 'NLevel' method is not supported because the query has switched to client-evaluation. This usually happens when the arguments to the method cannot be translated to server. Rewrite the query to avoid client evaluation of arguments so that method can be translated to server." So the workaround if you want to return the path, is to put it in an anonymous object inside a select statement and ToString() it.
@arsenemitingui3472
Жыл бұрын
Hello from DRCongo
@memelet
Жыл бұрын
Is the sample code available somewhere?
@amrosamy8232
Жыл бұрын
How to uniquely and sequentially create a hierarchical id based on a specific parent? Is it a good solution for hierarchical tenant and organization management?
@amrosamy8232
Жыл бұрын
@@michaelwplde the solution I found for defining a hierarchical id is using max( child id)+1, Does ef core support that? Good, means practically feasible with big projects based on your experience
Пікірлер: 6