Esempio n. 1
0
        public SQLiteDatabase(string filePath)
        {
            ThreadSafety.Initialize();

            SqliteConnectionStringBuilder connectionStringBuilder = new SqliteConnectionStringBuilder
            {
                DataSource = $"{filePath}",
                Version    = 3,
            };
            string connectionString = connectionStringBuilder.ToString();

            _connection = new SqliteConnection(connectionString);
        }