开发者

Local database without sql server

开发者 https://www.devze.com 2023-01-26 07:55 出处:网络
I am creating a C# application that I will install on some low end pcs. All I can install on low end machines is .NET framework. I want to use some sort of database so that I can store information tha

I am creating a C# application that I will install on some low end pcs. All I can install on low end machines is .NET framework. I want to use some sort of database so that I can store information that application will be scraping from internet. Can anyone suggest me how 开发者_如何学Pythonto proceed about that ? I cant install any version of sql server.

Thanks.


Your best option is to use an access database. You won't need to install anything on the machine it is virtually like using a flat file that can be queried like a database :)


SQLite seems to be the answer. http://www.sqlite.org/


I recommend SqlServerCe 3.5, it's compatible with EF 4.0 and it's so easy to deploy, just 2 .dll files.


VistaDB, SQLite, Compact Edition of SQL Server, MS Access, Firebird... the options are many and a list of them can be found here http://en.wikipedia.org/wiki/Embedded_database


You can try SQLite.

There is a C# wrapper here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号