Код: Выделить всё
public static class Constants
{
public const SQLite.SQLiteOpenFlags OpenFlags =
// 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 const SQLite.CreateFlags CreateFlags =
SQLite.CreateFlags.None;
}
static public SQLiteAsyncConnection Database;
Database = new SQLiteAsyncConnection("some path", Constants.OpenFlags);
Подробнее здесь: https://stackoverflow.com/questions/786 ... -by-my-app