Parameterized query in Oracle trouble

前端 未结 6 903
走了就别回头了
走了就别回头了 2020-12-10 02:14

I\'m using Oracle.DataAccess rather than the obsolete System.Data.OracleClient and I seem to be having trouble passing multiple parameters to my up

6条回答
  •  星月不相逢
    2020-12-10 02:47

    To emulate the default behavior of the System.Data.OracleClient, you should set the OracleCommand to bind by name.

    OracleCommand.BindByName = True
    

提交回复
热议问题