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); } }