存储的DataRelation在XML?DataRelation、XML

2023-09-07 10:43:06 作者:感性输给性感

我设计用一种新的方法一个数据库应用程序。 (ATLEAST小说给我... :))

I am designing a db application using a novel approach. (atleast novel to me... :) )

所以,我做了一些研究,为相同的。

So I am doing some research for the same.

我使用.NET 3.5 ADO.NET数据集数据的工作和离线存储为XML。

I am using .NET 3.5 ADO.NET Datasets to work with data and store it offline in XML.

首先,是这种做法有什么好的一个严重的(虽然少分贝,4-5个用户,约25桌〜3-4k记录每个)的应用程序?

First, is this approach any good for a serious (though a small db, 4-5 users, ~25 tables ~3-4k records in each) application?

二,我怎么完全是一个DataRelation的存储在离线XML文件?

Second, how do I exactly store a datarelation in an offline XML file?

谢谢!

SAURABH。

推荐答案

25桌,在每个3-4k行是不是我称之为小的XML;尤其,这是不容易跳转到刚刚以xml正确的数据...

25 tables with 3-4k rows in each is not what I'd call "small" for xml; in particular, it isn't easy to jump to just the right data in xml...

你有没有考虑一个数据库,如SQL Server防爆preSS版。免费的,超过了这个工作。

Have you considered a database, such as SQL Server Express Edition. Free, and more than up to this job.

再存储;如果您使用的是内置串行化的数据集,这应该只是自动工作。当然,XML届时将具体到数据集 ...老实说,我不建议数据集 / XML的方法。

Re storage; if you are using the inbuilt serialization a DataSet, this should just work automatically. Of course, the xml will then be specific to DataSet... I honestly don't recommend the DataSet/xml approach.