Hello Radzen Team,
i have a feature request about the .Get(new Query(){...}) methods
like thisone:
public async Task<IQueryable<Models.Trentdb.Artikelgruppe>> GetArtikelgruppes(Query query = null)
In "Invoke data source method" it is not possible to assign a Property as Parameter. Only "$filter,$orderby,$top,$skip,$expand" is allowed.
It were great to have the choice to use a query object/property as a parameter. So the Query object is reusable. e.g. fo reloading of Dropboxes, ect. This prevents that the Query(){Filter = "...", OrderBy="..."} must be typed again.
var trentdbGetFahrzeugartsResult = await Trentdb.GetFahrzeugarts(query);
Where "query" is of class "Query". Then i can set property "query" once and have a variable that can be reused.
I'm afraid that this is not possible. As I said in my previous reply this method is automatically generated by Radzen and the only purpose is to query collection of entities. As far as I can see you are looking for Custom Methods where you can define any parameters: