IDbTransaction.IsolationLevel 属性
定义
为该事务指定 IsolationLevel。Specifies the IsolationLevel for this transaction.
public:
property System::Data::IsolationLevel IsolationLevel { System::Data::IsolationLevel get(); };
public System.Data.IsolationLevel IsolationLevel { get; }
member this.IsolationLevel : System.Data.IsolationLevel
Public ReadOnly Property IsolationLevel As IsolationLevel
属性值
该事务的 IsolationLevel。The IsolationLevel for this transaction. 默认值为 ReadCommitted。The default is ReadCommitted.
注解
不支持并行事务。Parallel transactions are not supported. 因此, IsolationLevel 适用于整个事务。Therefore, the IsolationLevel applies to the entire transaction.