最佳.NET3.5基于策略的创建断开DB应用程序 [英] Best .NET3.5 based strategy for creating disconnected db application

查看:136
本文介绍了最佳.NET3.5基于策略的创建断开DB应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是:

我一直在研究在过去的几天里各种选项。最后,我想缩小到数据集,而它们序列化到XML,但它似乎不是一个好主意,毕竟(回答我的previous问题,建议强烈。)

I have been researching various options in last few days. At last I was thinking of narrowing to Datasets, while serializing them to XML, but it seems that it is not a good idea afterall (answers to my previous questions suggested that strongly.)

所以,我现在的问题是用什么办法(数据库和接入技术。)我应该走?我想用C#和易于使用的技术来访问我的数据库并实现同步在这一天结束。根据这个链接:http://msdn.microsoft.com/en-us/library/8fxztkff.aspx,MS表明两种不同的方法。我很惊讶地看到,他们没有在这里提到的LINQ。

So my question now is what approach (database and the access tech.) should I take? I would like to use c# and an easy to use technology to access my database and sync it at the end of the day. According to this link: http://msdn.microsoft.com/en-us/library/8fxztkff.aspx, MS suggests two different approaches. I am surprised to see that they have not mentioned LINQ here.

所以组,你推荐什么路径?

So group, what path do you recommend?

非常感谢你的阅读。

推荐答案

添加 - >新建 - >本地数据库缓存。这应该提供所有你需要(通过ADO.NET同步框架)的同步运行(IIRC)由SQL CE默认情况下,这是(我相信)免费。

Add -> New -> "Local Database Cache". This should provide all the sync you need (via ADO.NET Sync Framework), running (IIRC) by SQL CE by default, which is (I believe) free.

这篇关于最佳.NET3.5基于策略的创建断开DB应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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