日期:2014-05-17 浏览次数:20397 次
public DataSet AddXErrorLogFile(int locationId, byte[] errorLog, string errorType, DateTime errorTime)
{
try
{
OracleParameter[] parameters = {
new OracleParameter("ParaLocationID", OracleDbType.Int32),
new OracleParameter("ParaLogfile", OracleDbType.Blob),
new OracleParameter("ParaErrorType", OracleDbType.NVarchar2, 200),
new OracleParameter("ParaErrorTime", OracleDbType.Date),
new OracleParameter("P_Cursor", OracleDbType.RefCursor, ParameterDirection.Output) };
parameters[0].Value = locationId;
parameters[1].Value = errorLog;
parameters[2].Value = errorType;
parameters[3].Value = errorTime;
return OracleHelper.RunProcedure("XDC_BASE_PKG.XSOLUTION_ERROR_ADD_SP", parameters, "ds");