Skip to content

Instantly share code, notes, and snippets.

@rodrigovidal
Created October 15, 2012 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigovidal/3893973 to your computer and use it in GitHub Desktop.
Save rodrigovidal/3893973 to your computer and use it in GitHub Desktop.
Oracle manda lembranças
////Isso funciona..
var parametros = new[]
{
new OracleParameter("P_CD_CLIENTE", OracleDbType.Int32)
{ Direction = ParameterDirection.Input, Value = null },
new OracleParameter("C_CURSOR", OracleDbType.RefCursor)
{ Direction = ParameterDirection.Output }
};
////Isso não funciona..
var parametros = new[]
{
new OracleParameter("C_CURSOR", OracleDbType.RefCursor)
{ Direction = ParameterDirection.Output }
new OracleParameter("P_CD_CLIENTE", OracleDbType.Int32)
{ Direction = ParameterDirection.Input, Value = null
@juanplopes
Copy link

Oracle? ADO.NET puro? O que diabos você está fazendo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment