RelationalConnection.ConnectionBeginTransaction(IsolationLevel) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
範本方法預設會呼叫 BeginDbTransaction(IsolationLevel) ,但服務提供者可以覆蓋,讓它打出不同的通話。
protected virtual System.Data.Common.DbTransaction ConnectionBeginTransaction(System.Data.IsolationLevel isolationLevel);
abstract member ConnectionBeginTransaction : System.Data.IsolationLevel -> System.Data.Common.DbTransaction
override this.ConnectionBeginTransaction : System.Data.IsolationLevel -> System.Data.Common.DbTransaction
Protected Overridable Function ConnectionBeginTransaction (isolationLevel As IsolationLevel) As DbTransaction
參數
- isolationLevel
- IsolationLevel
用於交易的隔離層級。
傳回
新成立的交易。