on $search => isearchbinder_notasync => querybindercontext.arbitraryentity #1392
Unanswered
vigouredelaruse
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
given: a generic<,> single odata controller per edm with associated icontrollermodelconvention and all the trimmings
problem statement:
i'm telling you this because my ai assistants don't know enough about this pattern to refactor it such that entity.propertyset can be expressed as an array, and google copilot has no examples of the associated expression tree rendering
so here you go.
this example supports $search on a well known set of interface properties by trying get ef core to render sql like for a set of entities not known at compile time
invoke this from
Beta Was this translation helpful? Give feedback.
All reactions