[英]how to get a Windows CE handheld fully in sync with a desktop application
I have an application which allows the user to do certain things (add, edit, delete records) to a database. 我有一个应用程序,它允许用户对数据库执行某些操作(添加,编辑,删除记录)。 I have a handheld device which works in batch mode, so it is not live.
我有一个可在批处理模式下工作的手持设备,因此它不可用。 When docked, it syncs its data with the database.
停靠后,它将数据与数据库同步。
Until now, the tasks that the handheld has been doing were very small (only creating new records). 到目前为止,手持设备一直在执行的任务非常小(仅创建新记录)。 So the way I have been doing it is to use CSV files and bounce them back and forth.
因此,我一直使用的方法是使用CSV文件并来回反弹它们。
Problem is, now the handheld app is going to be significantly larger so using CSV files (chopping and changing) will become VERY messy. 问题是,现在手持应用程序将变得更大,因此使用CSV文件(剪切和更改)将变得非常混乱。
I am trying to figure the best way of going about re-designing this. 我正在尝试找出重新设计此方法的最佳方法。 I could have database on the handheld which is kept in sync with the main database but I have a feeling that with the size of the DB, the handheld wouldn't be able to handle it (plus there is no need for this).
我可以在掌上电脑上拥有与主数据库保持同步的数据库,但是我觉得随着数据库的大小,掌上电脑将无法处理它(而且不需要这样做)。
What is the neatest way of doing what I need to do? 做我需要做的最整洁的方法是什么?
您可以使用SQL Server Compact Edition代替CSV文件,而只需将sdf文件传递到桌面应用即可轻松同步数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.