protected override void CreateDatabaseMedia() { string filename; if (!databaseName.EndsWith(".sdf")) { filename = string.Format("{0}.sdf", databaseName); } else { filename = databaseName; } SqlCEDbHelper.CreateDatabaseFile(filename); }
protected override void CreateDatabaseFile() { SqlCEDbHelper.CreateDatabaseFile(CurrentFilePath); }
/// <summary> /// Creates the in memory db schema using the scope /// </summary> public void SetupDB() { SqlCEDbHelper.CreateDatabaseFile(DatabaseFilename); ActiveRecordStarter.CreateSchema(); }