I receive an error ORA-0136: illegal variable name/number
Here is my code :
Code: Select all
using (GeneralEntities dataContext = this.GetEntitiesObject<GeneralEntities>())
{
OracleConnection connexion = (dataContext.Connection as EntityConnection).StoreConnection as OracleConnection;
connexion.Open();
OracleCommand command = new OracleCommand("dbpc_cloee.getDatabasePlainText",connexion);
command.Parameters.Clear();
OracleParameter pReturn = new OracleParameter();
pReturn.Direction = System.Data.ParameterDirection.ReturnValue;
pReturn.OracleDbType = OracleDbType.VarChar;
command.Parameters.Add(pReturn);
command.ExecuteNonQuery();
return (string)pReturn.Value;
}
Any idea ?
Thanks !
PS: EF4.50 - dotConnect 6.60