0

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 + "');");
vivek kv
  • 406
  • 6
  • 11
  • Are you having trouble connecting, or calling a stored procedure? – kfinity Jul 02 '19 at 13:55
  • Connection with Oracle is fine now. Normal select queries are working. But cannot find a way to call a stored procedure – vivek kv Jul 03 '19 at 08:45
  • Have you tried the stored procedure syntax? https://github.com/CollaboratingPlatypus/PetaPoco/wiki/Stored-procedures – asherber Jul 03 '19 at 21:03

0 Answers0