共用方式為


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

連線和交易的相關內容資訊。

適用於