Uredi

Deli z drugimi prek


DbTransaction.Rollback Method

Definition

Overloads

Rollback()

When overridden in a derived class, rolls back a transaction from a pending state.

Rollback(String)

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

Rollback()

Source:
DbTransaction.cs
Source:
DbTransaction.cs
Source:
DbTransaction.cs

When overridden in a derived class, rolls back a transaction from a pending state.

public:
 abstract void Rollback();
public abstract void Rollback ();
abstract member Rollback : unit -> unit
Public MustOverride Sub Rollback ()

Implements

See also

Applies to

Rollback(String)

Source:
DbTransaction.cs
Source:
DbTransaction.cs
Source:
DbTransaction.cs

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

public:
 virtual void Rollback(System::String ^ savepointName);
public virtual void Rollback (string savepointName);
abstract member Rollback : string -> unit
override this.Rollback : string -> unit
Public Overridable Sub Rollback (savepointName As String)

Parameters

savepointName
String

The name of the savepoint to roll back to.

Applies to