If I use an app.conf file to define the connection for a SQL CE 4.0 DB, my app works fine.
How can I "initialize the connection" (hope this is the right term...) without an app.conf, in the code?
Here is what I have so far (not much):
SqlCeConnectionStringBuilder builder = new SqlCeConnectionStringBuilder();
builder["Data Source"] = "db.sdf";
//What is missing here?
PartyDB DB = new PartyDB();
var dinners = from d in DB.Dinners
select d;
Any hint is highly appreciated.