开发者

daab 5 update oracle NCLOB column

is there another way to fix this? i just find this works

DbCommand comm = db.GetStoredProcCommand(usp_Script_Update);开发者_如何学JAVA
        db.AddInParameter(comm, "v_ID", DbType.String, WindowsGuid2OracleGuid(script.ID));
        db.AddInParameter(comm, "v_Name", DbType.String, script.Name);
        db.AddInParameter(comm, "v_Description", DbType.String, script.Description);

        ((OracleDatabase)db).AddParameter((OracleCommand)comm, "v_ScriptValue", OracleType.NClob, script.ScriptValue.Length,
            ParameterDirection.Input, true, 0, 0, "ScriptValue", DataRowVersion.Default, script.ScriptValue);


DbType.StringFixedLength

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜