OData 1-4 OData语法(上)
摘要:假设目前提供OData的服务地址是http://localhost:9527/ODataService.svc提供的服务内容如下所示 (提供了一个WagerInformations)代码1.基础查询 1)列出所有的WagerInformations http://localhost:9527/ODataService.svc/WagerInformations 2)按照主键查询 http://localhost:9527/ODataService.svc/WagerInformations(1) PS:在.net里面一般使用DataServiceKeyAttrib
阅读全文
posted @ 2010-12-21 10:51