XML在C#中作为Dtabase [英] XML as Dtabase in c#

查看:59
本文介绍了XML在C#中作为Dtabase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将XML用作数据库?
如果是,那么请帮助我在c#.Net中设计这样的代码.

Is it possible to use XML as data base?
If yes, then please help me to design such code in c#.Net.

推荐答案

如果我们谈论的是大量数据,那将会是长时间加载数据文件.考虑改用可用的轻量级数据库解决方案之一,例如SqlLite,SqlCompact或类似的东西.只是继续使用SqlServer Express也不会太令人讨厌.如果您要在单个表模式中谈论超过50-100条记录,那么XML应该永远是您的最后选择.
If we''re talking about a lot of data, it''s going to take your data files a LONG time to load. Consider using one of the available light-weight database solutions instead, such as SqlLite, SqlCompact, or something like that. It also wouldn''t be too god-awful intrusive to just go ahead and use SqlServer Express. XML should always be your last choice if you''re talking about anything more than 50-100 records in a single table schema.


这篇关于XML在C#中作为Dtabase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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