何解析ado.net数据服务生成的本地ATOM文件? [英] Ho to parse local ATOM File generated by ado.net data service?

查看:60
本文介绍了何解析ado.net数据服务生成的本地ATOM文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ado.net数据服务。该服务返回的结果非常大(+ 20M)。所以我将结果保存到XML文件,并将压缩的xml发送给客户。所以我的问题是客户如何使用System.Data.Services.Client中的类解析xml文件?我现在LINQ to XML可能可以完成这项工作,是否有一种简单的方法将xml反序列化为对象?

谢谢,
Greg

解决方案

您可以在以下文章中找到如何使用客户端库实现此目的的示例:
http://msdn.microsoft.com/en-us/library/cc907912.aspx

I have an ado.net data service. The result returned by the service is very large (+20M). So I save the result to a XML file, and send the zipped xml to customer. So my questions is how the customer parse the xml file using classes in System.Data.Services.Client? I now LINQ to XML probably can do the work, is there a easy way to deserialize the xml to object?

Thanks,
Greg

解决方案

You can find examples of how to use the client library to achieve this in the following article:
http://msdn.microsoft.com/en-us/library/cc907912.aspx


这篇关于何解析ado.net数据服务生成的本地ATOM文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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