IDbContextTransaction.ReleaseSavepoint(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework