OracleConnection connection = new OracleConnection(conn); OracleCommand command = new OracleCommand(); int result = 0; try { PrepareCommand(command, connection, CommandType.Text, cmdText); OracleParameter stopUpdateAutoCodes = new OracleParameter("StopUpdateAutoCodes", OracleDbType.Clob); stopUpdateAutoCodes.Value = mr.StopUpdateAutoCodes; command.Parameters.Add(stopUpdateAutoCodes); OracleParameter syncCodes = new OracleParameter("SyncCodes", OracleDbType.Clob); syncCodes.Value = mr.SyncCodes; command.Parameters.Add(syncCodes); OracleParameter unSyncCodes = new OracleParameter("UnSyncCodes", OracleDbType.Clob); unSyncCodes.Value = mr.UnSyncCodes; command.Parameters.Add(unSyncCodes); result = command.ExecuteNonQuery(); command.Parameters.Clear(); } catch { } finally { command.Dispose(); connection.Close(); connection.Dispose(); }