Ejemplo n.º 1
0
 internal SQLiteBackup(SQLiteBase sqlbase, SQLiteBackupHandle backup, IntPtr destDb, byte[] zDestName, IntPtr sourceDb, byte[] zSourceName)
 {
     this._sql           = sqlbase;
     this._sqlite_backup = backup;
     this._destDb        = destDb;
     this._zDestName     = zDestName;
     this._sourceDb      = sourceDb;
     this._zSourceName   = zSourceName;
 }
Ejemplo n.º 2
0
 private void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             if (this._sqlite_backup != null)
             {
                 this._sqlite_backup.Dispose();
                 this._sqlite_backup = null;
             }
             this._zSourceName = null;
             this._sourceDb    = IntPtr.Zero;
             this._zDestName   = null;
             this._destDb      = IntPtr.Zero;
             this._sql         = null;
         }
         this.disposed = true;
     }
 }