Esempio n. 1
0
        public void Close()
        {
            if (state != ConnectionState.Open)
            {
                return;
            }

            state = ConnectionState.Closed;

            if (Version == 3)
            {
                Sqlite.sqlite3_close(sqlite_handle);
            }
            else
            {
                Sqlite.sqlite_close(sqlite_handle);
            }
            sqlite_handle = IntPtr.Zero;
        }