IDbTransactionInterceptor.ReleasedSavepoint 方法

定义

在 EF 释放事务保存点后立即调用。

public void ReleasedSavepoint (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData eventData);
public virtual void ReleasedSavepoint (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData eventData);
abstract member ReleasedSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
abstract member ReleasedSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
override this.ReleasedSavepoint : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData -> unit
Public Sub ReleasedSavepoint (transaction As DbTransaction, eventData As TransactionEventData)
Public Overridable Sub ReleasedSavepoint (transaction As DbTransaction, eventData As TransactionEventData)

参数

transaction
DbTransaction

事务。

eventData
TransactionEventData

有关连接和事务的上下文信息。

适用于