Sql Server Compact Edition 3.5: Does the data persist in the database file

sql serversql-server-ce

I have this question in which I have a SQL Server Compact Edition database for a desktop application. I am completely new to Sql Server Compact Edition. The question is, does the data inserted in the database persist even if the application is shut down or restarted? Coz I cant seem to find my data when using Sql Server Management Studio to manage the database.

Am I missing anything/something?

EDIT: Is SQL Server Compact Edition used for caching local data only? We cant use it like what we normally do on Sql Server Express for example managing data using Sql Server Management Studio?

Best Answer

In your project, set the copy options to 'Copy if newer' from 'Copy always'.

If you do a rebuild, it will be deleted as well.