我正在寻找一个实现可更新 WCF 数据服务的好示例。我在 MSDN 上找到了 这篇文章,其中显示了使用 IUpdatable 的示例实现,但是不确定我是否理解这篇文章。本文中使用了 GetTable() 和 SubmitChanges() 等方法,但未提供其实现。
感谢任何指点。
I am looking for a good sample implementing an updatable WCF Data Service. I found this article on MSDN that shows a sample implementation using IUpdatable, but not sure if I understand this post. There are methods used in this post such as GetTable() and SubmitChanges(), whose implementation is not provided.
Appreciate any pointers.
发布评论
评论(3)
发现这个最有用 - http://blogs.microsoft.co.il/blogs/gilf/archive/2008/08/31/how-to-perform-crud-operations-in-ado-net-data-services- with-custom-provider.aspx
感谢大家的回复。
Found this one most useful - http://blogs.microsoft.co.il/blogs/gilf/archive/2008/08/31/how-to-perform-crud-operations-in-ado-net-data-services-with-custom-provider.aspx
Thanks all for your replies.
您看过 Alex 的博客 这里?
它还具有用于为不同提供商创建数据服务的链接。
Have you looked at Alex's blog here ?
It also has links for creating Data Service for different providers.
以下是 IUpdatable 实现的示例:
http://code.msdn.microsoft.com/IUpdateableLinqToSql
希望这有帮助,
莫妮卡
Here is an example on IUpdatable implementation:
http://code.msdn.microsoft.com/IUpdateableLinqToSql
Hope this helps,
Monica