0
Answer

OracleCommand.Transaction property is read only

Ask a question
Basu Biswas

Basu Biswas

17y
3.7k
1
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