IDbTransactionInterceptor.CreatedSavepoint 方法

定义

在 EF 创建事务保存点后立即调用。

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

参数

transaction
DbTransaction

事务。

eventData
TransactionEventData

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

适用于