How to call oracle stored procedure using petapoco

血红的双手。 提交于 2021-01-29 09:13:23

问题


We have recently changed from ADO to Peta Poco. Connecting to SQL Server is quite easy and is getting familiar with it. However, I can't find a way to connect to Oracle database. These are the syntaxes I tried.

var records = db.Execute("ADMIN.ProcedureName @0", param);

var records = db.Fetch<dynamic>("exec ADMIN.ProcedureName ('" + str1 + "','" + recordStart + "','" + recordEnd + "');");

来源:https://stackoverflow.com/questions/56849740/how-to-call-oracle-stored-procedure-using-petapoco

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!