System.Data.SQLite

Artifact [4f31c530e6]
Login

Artifact 4f31c530e64ae048464c57abe30e2555b73e90c2:


/********************************************************
 * ADO.NET 2.0 Data Provider for SQLite Version 3.X
 * Written by Joe Mistachkin (joe@mistachkin.com)
 *
 * Released to the public domain, use at your own risk!
 ********************************************************/

namespace System.Data.SQLite
{
    public class SQLiteModule : SQLiteModuleBase
    {
        #region IDisposable "Pattern" Members
        private bool disposed;
        private void CheckDisposed() /* throw */
        {
#if THROW_ON_DISPOSED
            if (disposed)
                throw new ObjectDisposedException(typeof(SQLiteModule).Name);
#endif
        }

        ///////////////////////////////////////////////////////////////////////

        protected override void Dispose(bool disposing)
        {
            try
            {
                if (!disposed)
                {
                    //if (disposing)
                    //{
                    //    ////////////////////////////////////
                    //    // dispose managed resources here...
                    //    ////////////////////////////////////
                    //}

                    //////////////////////////////////////
                    // release unmanaged resources here...
                    //////////////////////////////////////

                    disposed = true;
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }
        #endregion

        public override SQLiteErrorCode Create(SQLiteConnection connection, IntPtr pClientData, string[] argv, ref string error)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Connect(SQLiteConnection connection, IntPtr pClientData, string[] argv, ref string error)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode BestIndex(ref SQLiteIndex index)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Disconnect()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Destroy()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Open(ref SQLiteVirtualTableCursor cursor)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Close(SQLiteVirtualTableCursor cursor)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Filter(SQLiteVirtualTableCursor cursor, int idxNum, string idxStr, SQLiteValue[] argv)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Next(SQLiteVirtualTableCursor cursor)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Eof(SQLiteVirtualTableCursor cursor)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Column(SQLiteVirtualTableCursor cursor, SQLiteContext context, int index)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode RowId(SQLiteVirtualTableCursor cursor, ref long rowId)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Update(SQLiteValue[] values, ref long rowId)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Begin()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Sync()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Commit()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Rollback()
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode FindFunction(string zName, ref SQLiteFunction function, object[] args)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Rename(string zNew)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Savepoint(int iSavepoint)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode Release(int iSavepoint)
        {
            throw new NotImplementedException();
        }

        public override SQLiteErrorCode RollbackTo(int iSavepoint)
        {
            throw new NotImplementedException();
        }
    }
}