0

I am developing desktop app using wpf mvvm,however I am confused as to how should I proceed with developing standalone application using sqlite,sql server compact etc

2 Answers2

0

If you need a database (really need a database), I suggest using Entity Framework using the code first approach. This can create a local database for the application w/o the need of a database server.

However, strongly consider if you could just use files in the file system. It is amazing how much you can load into memory and if you want this to run on client machine, you likely don't have so much data that you can't just load the data into memory.

Geoff Cox
  • 6,102
  • 2
  • 27
  • 30
0

SQL Server Compact requires a separate installation step with administrative credentials.

SQLite is a library that can be compiled directly into the application. In the case of .NET, it is a part of the System.Data.SQLite package, so it is automatically available when your application is shipped with this package (see SQLite deployment for .net application).

CL.
  • 173,858
  • 17
  • 217
  • 259