Server side queries
For security reasons and make development across multiple implementations you may want to define queries on server side.
Those queries almost work like normal client defined queries and give you all features you normally have, enriched with some server only features like custom select-returns and full support of all EF-Core supported where-clauses.
You can run auth checks etc. if you need to.