IDbContextTransaction.ReleaseSavepoint(String) Method

Definition

Destroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends.

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

Parameters

name
String

The name of the savepoint to release.

Remarks

If savepoint release isn't supported, ReleaseSavepoint(String) and ReleaseSavepointAsync(String, CancellationToken) should do nothing rather than throw. This is the default behavior.

See Transactions in EF Core for more information and examples.

Applies to