简体   繁体   English

C#和网络共享数据库

[英]C# and a Network Share Database

I'm sure this has been asked before, but I am developing an application which needs to have a network share database. 我确定之前已经问过,但我正在开发一个需要拥有网络共享数据库的应用程序。 I don't have the option of setting up a dedicated SQL server, so my only option is a file based database. 我没有设置专用SQL服务器的选项,所以我唯一的选择是基于文件的数据库。

The use will initially be 5-10 users who will primarily read from the database, and only write to it a couple of times per hour at most. 最初将使用5-10个用户,他们将主要从数据库中读取数据,并且最多只能每小时写入几次。

I've read on here that people recommend I stay away from Access, but what other options are there to achieve what I am after? 我在这里读过,人们建议我远离Access,但还有什么其他选择来实现我的目标?

I would suggest either using SQL Server Compact Edition or SQLite . 我建议使用SQL Server Compact EditionSQLite

Neither requires a server to run (they're file based) and both are more full featured and reliable than an Access database. 既不需要服务器运行(它们是基于文件的),并且两者都比Access数据库更全功能和可靠。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM