This commit is contained in:
tidusjar 2016-04-28 14:20:35 +01:00
commit af2c661d61
5 changed files with 106 additions and 3 deletions

View file

@ -44,7 +44,7 @@ namespace PlexRequests.Store
}
private SqliteFactory Factory { get; }
private string CurrentPath =>Path.Combine(Path.GetDirectoryName(Application.ExecutablePath) ?? string.Empty, DbFile);
public string CurrentPath =>Path.Combine(Path.GetDirectoryName(Application.ExecutablePath) ?? string.Empty, DbFile);
public virtual bool CheckDb()
{
@ -59,7 +59,7 @@ namespace PlexRequests.Store
return false;
}
public string DbFile = "PlexRequests.sqlite";
public const string DbFile = "PlexRequests.sqlite";
/// <summary>
/// Gets the database connection.