1
Q:
A) tr = cn.BeginTransaction(?ReadCommitted?); | B) tr = cn.BeginTransaction(IsolationLevel.ReadCommitted); |
C) tr = cn.BeginTransaction(IsolationLevel.Serializable); | D) tr = cn.BeginTransaction(?Serializable?); |
Answer: C) tr = cn.BeginTransaction(IsolationLevel.Serializable);
Explanation:
Explanation:
Serializable is the highest isolation transaction level. It provide the highest possible level of protection against concurrent data errors. The correct syntax to begin a transaction with this transaction isolation level is: cn.BeginTransaction(IsolationLevel.Serializable)