AspNetCoreOData
AspNetCoreOData copied to clipboard
ODataQueryOptions for dynamic model sample
Hi,
I need the ability to accept an ODataQueryOptions<> parameter in the HandleAllController from the ODataDynamicModel sample. Is this possible? I've tried things like typing the parameter with the EdmEntityObject class and decorating the parameter with various OData attributes, but the endpoint is never found.
I've also noticed that decorating the HandleAllController endpoints with [EnableQuery] throws an error when trying to use query options: "The query specified in the URI is not valid. Could not find a property named '
The EdmModel per scope functionality is really cool and fits our use case perfectly, but the lack of query option support has unfortunately halted development in this area.
Any ideas?
Thanks for all the hard work.
Bumping this for guidance.
Also bumping for guidance.
We'd could start writing if (Request.QueryString.Contains("$filter=")) and such but would like to avoid that in favor of OdataQueryOptions.
Also bumping for guidance
This should be moved to discussions.