OracleCommand.Transaction property is read only
Does anyody know what's wrong with this:
OracleConnection oraCn = new OracleConnection(ConString);
OracleCommand oraCmd1 = new OracleCommand(oraString1, oraCn);
OracleTransaction oraTrans;
oraTrans = oraCn.BeginTransaction(IsolationLevel.ReadCommitted);
oraCmd1.Transaction = oraTrans; --> gives me error said OracleCommand.Transaction property is read only
Does anyone know how to solve this issue? I search goolgle and found same kind of code....
Thanks in advance