private string GetFullDatabaseFilePath(string databaseName) { var databaseFile = this.GetDatabaseFileName(databaseName); var fullDatabaseFilePath = Path.Combine(DataDirectories.GetUserApplicationDatabasesDirectory(), databaseFile); return(fullDatabaseFilePath); }
public void CreateNewDatabase() { if (!this.DatabaseExists()) { if (!Directory.Exists(DataDirectories.GetUserApplicationDatabasesDirectory())) { Directory.CreateDirectory(DataDirectories.GetUserApplicationDatabasesDirectory()); } this.CreateDillyDallyDatabase(this._fullDatabaseFilePath); } }