private void InitializeAppDataPath() { if (FullAppDataPath == string.Empty || FullTimeDBPath == string.Empty) { FullAppDataPath = EnvLibrary.GetAppDataPath(); FullTimeDBPath = EnvLibrary.GetDBPath(); } }
/// <summary> /// Gets the (currently static) SQLCE connection string /// </summary> /// <returns>Connection String</returns> private string GetConnectionString() { return("DataSource=" + EnvLibrary.GetDBPath()); }
/// <summary> /// Checks if a file exists where the SQLCE DB is expected to be /// </summary> /// <returns></returns> public bool CheckDatabaseExists() { return(File.Exists(EnvLibrary.GetDBPath())); }