IDbTransactionInterceptor.CreatedSavepoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 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
有关连接和事务的上下文信息。