带有WCF数据服务(OData)的PowerShell CRUD? [英] PowerShell CRUD with WCF Data Services (OData)?

查看:82
本文介绍了带有WCF数据服务(OData)的PowerShell CRUD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对WCF数据服务(OData)执行CRUD. 阅读"部分在整个网络上都有很好的记录,这是我遇到的麻烦,即创建,更新和删除".

I am trying to perform CRUD against WCF Data Services (OData). The Read portion is pretty well documented across the web… it’s the Create, Update and Delete that I am having trouble with.

推荐答案

对于本文档,您是否查看过odata.org:

As for the documentation, have you looked at odata.org: http://www.odata.org/developers/protocols/operations#CreatingnewEntries It has a description and samples of all the common CRUD operations against an OData services.

您还可以使用任何OData客户端(例如.NET客户端)编写示例客户端应用程序,并使用fiddler之类的东西来查看针对该服务的请求,如果您需要查看自己的确切负载形状的话特殊服务.

You can also write a sample client application using any OData client (for example the .NET one) and use something like fiddler to see what requests are being made against the service, if you need to see the exact payload shape for your particular service.

这篇关于带有WCF数据服务(OData)的PowerShell CRUD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆