private static HttpClient GetClient() { var config = new HttpConfiguration(); config.MapODataServiceRoute("odata1", "v1", EdmModelBuilder.GetEdmModel()); config.MapODataServiceRoute("odata2", "v2", EdmModelBuilder.GetEdmModelLowerCamelCase()); return(new HttpClient(new HttpServer(config))); }