注释OData
xxred 编写于 2018-11-14 19:53:50
NewLife.Cube
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Net;
//using System.Net.Http;
//using System.Web.Http;
//using Microsoft.AspNet.OData;
//using Microsoft.AspNet.OData.Routing;
//using XCode.Membership;

//namespace NewLife.Cube.Controllers
//{
//    // https://odata.github.io/WebApi/#03-01-routing-abstract

//    //[ODataRoutePrefix("odata/UserXs")]
//    public class UserXsController : ODataController
//    {
//        //[ODataRoute("Get")]
//        public List<UserX> Get()
//        {
//            return new List<UserX>
//            {
//                new UserX
//                {
//                    ID = 1,
//                    Name = "123"
//                }
//            };
//        }
//    }
//}