public static void Register(HttpConfiguration config) { // Web API configuration and services CustomerGeoContext.Init(); config.MapODataServiceRoute("odata", "odata", EdmModelBuilder.BuildCustomerEdmModel()); } }