通过c#代码创建SDF数据库文件
// 创建SDF文件,文件路径:c:\test.sdf SqlCeEngine engine = new SqlCeEngine(@"Data Source = c:\test.sdf"); engine.CreateDatabase(); engine.Dispose();