Share via


IDbContextTransaction.RollbackToSavepoint(String) Method

Definition

Rolls back all commands that were executed after the specified savepoint was established.

public virtual void RollbackToSavepoint (string name);
abstract member RollbackToSavepoint : string -> unit
override this.RollbackToSavepoint : string -> unit
Public Overridable Sub RollbackToSavepoint (name As String)

Parameters

name
String

The name of the savepoint to roll back to.

Remarks

See Transactions in EF Core for more information and examples.

Applies to