SQL CE 3.5 & EntityFramework
问题 I have an sqlce 3.5 local db file in my VS2010 solution used with an EF4 Model. I need to protect my db with a password but do not serialize it in app.config. I also need to set up the maximum database file size to it's maximum allowed value which is 4091 MB when I try to set the connectionString in code, I can't find a way to set the 'Max Database Size=4091'. Here is a method that I use to build the connection string private string GetConnectionString() { // Specify the provider name, server