Since Web API OData V5.5, it supports filter, select and orderby on dynamic properties.
Let’s see a sample about this feature.
CLR Model
First of all, we create the following CLR classes as our model:
Build Edm Model
Now, we can build the Edm Model as:
Use filter, orferby, select on dynamic property
Routing
In the SimpleOpenCustomersController
, add the following method:
Request Samples
We can query like: