quizapp/FWLAZ/Constants.cs
2024-09-01 21:12:09 +02:00

25 lines
683 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FWLAZ
{
internal static class Constants
{
public const string DatabaseFilename = "quiz.db";
// public const SQLite.SQLiteOpenFlags Flags =
//// open the database in read/write mode
//SQLite.SQLiteOpenFlags.ReadWrite |
//// create the database if it doesn't exist
//SQLite.SQLiteOpenFlags.Create |
//// enable multi-threaded database access
//SQLite.SQLiteOpenFlags.SharedCache;
public static string DatabasePath =>
Path.Combine(FileSystem.AppDataDirectory, DatabaseFilename);
}
}