public void BeginBatch(OracleLobOpenMode mode) { AssertConnectionIsOpen(); AssertObjectNotDisposed(); isBatched = true; }
public void BeginBatch(OracleLobOpenMode mode) { this.AssertObjectNotDisposed(); if (!this.IsNull) { this.AssertConnectionIsOpen(); this.LobLocator.Open(mode); } }
public void BeginBatch (OracleLobOpenMode mode) { int status = 0; status = OciCalls.OCILobOpen (Service, ErrorHandle, Handle, (byte) mode); if (status != 0) { OciErrorInfo info = ErrorHandle.HandleError (); throw new OracleException (info.ErrorCode, info.ErrorMessage); } }
internal void Open(OracleLobOpenMode mode) { OracleLobOpenMode current = (OracleLobOpenMode)Interlocked.CompareExchange(ref this._openMode, (int)mode, 0); if (current == ((OracleLobOpenMode)0)) { this.ForceOpen(); } else if (mode != current) { throw System.Data.Common.ADP.CannotOpenLobWithDifferentMode(mode, current); } }
public void BeginBatch(OracleLobOpenMode mode) { int status = 0; status = OciCalls.OCILobOpen(Service, ErrorHandle, Handle, (byte)mode); if (status != 0) { OciErrorInfo info = ErrorHandle.HandleError(); throw new OracleException(info.ErrorCode, info.ErrorMessage); } }
internal void Open(OracleLobOpenMode mode) { OracleLobOpenMode openMode = (OracleLobOpenMode)Interlocked.CompareExchange(ref _openMode, (int)mode, 0); if (0 == openMode) { ForceOpen(); } #if EVERETT else if (mode != openMode) { throw ADP.CannotOpenLobWithDifferentMode(mode, openMode); } #endif //EVERETT }
public void BeginBatch (OracleLobOpenMode mode) { AssertConnectionIsOpen (); AssertObjectNotDisposed (); locator.BeginBatch (mode); isBatched = true; }
internal static Exception CannotOpenLobWithDifferentMode(OracleLobOpenMode newmode, OracleLobOpenMode current) { return(InvalidOperation(System.Data.OracleClient.Res.GetString("ADP_CannotOpenLobWithDifferentMode", new object[] { newmode.ToString(), current.ToString() }))); }
public void BeginBatch(OracleLobOpenMode mode) { }
public void BeginBatch(OracleLobOpenMode mode) {}
internal static Exception CannotOpenLobWithDifferentMode(OracleLobOpenMode newmode, OracleLobOpenMode current) { return InvalidOperation(System.Data.OracleClient.Res.GetString("ADP_CannotOpenLobWithDifferentMode", new object[] { newmode.ToString(), current.ToString() })); }
internal void Open(OracleLobOpenMode mode) { OracleLobOpenMode current = (OracleLobOpenMode) Interlocked.CompareExchange(ref this._openMode, (int) mode, 0); if (current == ((OracleLobOpenMode) 0)) { this.ForceOpen(); } else if (mode != current) { throw System.Data.Common.ADP.CannotOpenLobWithDifferentMode(mode, current); } }
static internal Exception CannotOpenLobWithDifferentMode(OracleLobOpenMode newmode, OracleLobOpenMode current) { return(InvalidOperation(Res.GetString(Res.ADP_CannotOpenLobWithDifferentMode, newmode.ToString(CultureInfo.CurrentCulture), current.ToString(CultureInfo.CurrentCulture)))); }