如何在mvc ef中保存数据库中的xml文件? [英] How to save the xml file in database in mvc ef?

查看:86
本文介绍了如何在mvc ef中保存数据库中的xml文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个XML文件。在这个文件中有很多我希望在sql server中保存该XML文件的记录。我的项目是在mvc5。



请指导我,如果有人有代码请分享。



谢谢你

I have a XML file. In this file there are lots of records i want to save that XML file in sql server. My project is in mvc5.

Please guide me if anybody have code then please share.

Thank you

推荐答案

XML只是文本所以保存它就像你的姓氏或地址一样。
XML is just text so save it like you would a surname or address.


你有什么例子吗?在xml文件中我有很多recored.So我如何将数据保存在我的数据库中。
did you have any example?in xml file i have lots of recored.So how i can save that data in my database.


这篇关于如何在mvc ef中保存数据库中的xml文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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