I just started playing with the OData [Queryable] attribute on some of my Web API endpoints, and I'm getting the following error:
ExceptionMessage=The type 'Model.ViewModels.Refinement' cannot be configured as a ComplexType. It was previously configured as an EntityType.
Parameter name: type
'Model.ViewModels.Refinement' is part of my EDMX EF data set.
What do I need to do to allow it to be converted to a ComplexType?