Beispiel #1
0
 internal void ForceClose()
 {
     if (this._openMode != 0)
     {
         int rc = TracedNativeMethods.OCILobClose(this.ServiceContextHandle, this.ErrorHandle, this.Descriptor);
         if (rc != 0)
         {
             this.Connection.CheckError(this.ErrorHandle, rc);
         }
         this._openMode = 0;
     }
 }
        internal void ForceClose()
        {
            if (0 != _openMode)
            {
                int rc = TracedNativeMethods.OCILobClose(
                    ServiceContextHandle,
                    ErrorHandle,
                    Descriptor
                    );
                if (0 != rc)
                {
                    Connection.CheckError(ErrorHandle, rc);
                }

                _openMode = 0;
            }
        }