My question is very similar to this one: How do I map an OData query against a DTO to an EF entity? I have a simple setup to test the ASP.NET Web API OData V4 $filter functi
To me the solution was just adding the DTO to the EDM config (v4):
edmBuilder.EntitySet("Contacts"); edmBuilder.EntityType();