Created
October 15, 2012 17:53
-
-
Save rodrigovidal/3893973 to your computer and use it in GitHub Desktop.
Oracle manda lembranças
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oracle? ADO.NET puro? O que diabos você está fazendo?