单用户的数据库选项 [英] Single-user database options

查看:138
本文介绍了单用户的数据库选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要编写使用.NET框架和C#中的Windows应用程序。该应用程序将需要存储将被quieried,加入并处理相关数据。

I'm going to be writing a Windows application using the .NET framework and C#. The application will need to store relational data which will be quieried, joined and processed.

previously我做这个使用SQL Server,但是这是一个总的矫枉过正我现在提出申请。

Previously I've done this using SQL Server, but that is a total overkill for the application I am now making.

什么是存储关系型数据在我的应用程序中最简单的,最简单的方法是什么?如果我是一个Mac上,我会使用SQLite。什么是.NET等价?

What's the simplest, easiest way to store relational data in my application? If I was on a Mac, I'd be using SQLite. What's the .NET equivalent?

推荐答案

如果您使用的是VS 2008和.NET 3.5,你可以使用的 SQL Server精简版。这不是一个真正的服务器可言,它运行在进程内与您的应用程序,并提供了一​​个基本的SQL数据库。该数据库本身是一个.sdf文件,并部署了您的应用程序。 <击>因为它是框架的一部分,这也意味着没有额外的安装。事实上,这实际上并不是框架的一部分,但它是很容易再发行的。我使用的SQL Server CE的一个个人项目,我目前正在研究,它的横空出世伟大至今。

If you are using VS 2008 and .NET 3.5, you can use SQL Server Compact Edition. It's not really a server at all, it runs in-proc with your app and provides a basic SQL database. The databases themselves are a single .sdf file and are deployed with your app. Since it's part of the framework, it also means there's no additional installation. Actually, It's not actually part of the framework, but it's easily redistributable. I'm using SQL Server CE for a personal project I'm currently working on, and it's turned out great so far.

这篇关于单用户的数据库选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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