OracleParameter eats prefix
Posted: Fri 27 Jan 2012 20:28
Hi there,
Is it possible to preserver the original parameter name?
If I do this
I get "p1" and not ":p1" as I'd expect.
Update: Looks like using double colons does the trick ("::p1").
Is it possible to preserver the original parameter name?
If I do this
Code: Select all
OracleParameter p = new OracleParameter();
p.ParameterName = ":p1";
string name = p.ParameterName;
Update: Looks like using double colons does the trick ("::p1").