如何在 ODBC 参数类型中声明 SYS_REFCURSOR 的类型?
这是我的代码:
OdbcParameterCollection oParam = new OdbcCommand().Parameters;
oParam.Add("Username ", OdbcType.NVarChar).Value = "Aries";
oParam.Add("PASSWORD ", OdbcType.NVarChar).Value = "1234";
oParam.Add("RESULT", OdbcType.??).Direction = ParameterDirection.Output; //Problem here
_dt = this.Execute("{ CALL spValidateLogin(?, ?, ?) }", oParam);