AspNetClassic.Geography.WebApiConfig.Register C# (CSharp) 메소드

Register() 공개 정적인 메소드

public static Register ( HttpConfiguration config ) : void
config HttpConfiguration
리턴 void
        public static void Register(HttpConfiguration config)
        {
            // Web API configuration and services
            CustomerGeoContext.Init();

            config.MapODataServiceRoute("odata", "odata", EdmModelBuilder.BuildCustomerEdmModel());
        }
    }
WebApiConfig