//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"
// }
// };
// }
// }
//}
|