IDbTransactionInterceptor.RolledBackToSavepoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 EF 回復至交易儲存點之後立即呼叫。
public void RolledBackToSavepoint (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData eventData);
public virtual void RolledBackToSavepoint (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData eventData);
abstract member RolledBackToSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
abstract member RolledBackToSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
override this.RolledBackToSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
Public Sub RolledBackToSavepoint (transaction As DbTransaction, eventData As TransactionEventData)
Public Overridable Sub RolledBackToSavepoint (transaction As DbTransaction, eventData As TransactionEventData)
參數
- transaction
- DbTransaction
異動。
- eventData
- TransactionEventData
連線和交易的相關內容資訊。