I found that these are suspicious:
- The entity set X is not defined in the builder
- Maybe should replace config.Routes.MapODataRoute("ODataRoute", "odata/2013-06", model); with config.Routes.MapODataRoute("ODataRoute", "odata-2013-06/*", model);
If it is an odata service there is no need to do this:
config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/2013-06/{controller}/{id}", defaults: new { id = RouteParameter.Optional } );