let's say I want to use an existing SqlCe database that has HAS data in it. I am not sure if this is the best way to do this.
1) here is a normal way to create a SqlCe phone for Windows
using (CountryDataContext context = new CountryDataContext (ConnectionString))
{
if (! context.DatabaseExists ())
{
// create database if it does not exist
context.CreateDatabase ();
}
}
But this database has data in it, so I do not want to create it. I want to deploy it or save it in isolated storage.
How should I do it? I want to use the data already in the database.
thank