DatabaseFacade.RollbackTransaction Method

Definition

Discards the outstanding operations in the current transaction.

public virtual void RollbackTransaction ();
abstract member RollbackTransaction : unit -> unit
override this.RollbackTransaction : unit -> unit
Public Overridable Sub RollbackTransaction ()

Remarks

See Transactions in EF Core for more information and examples.

Applies to