RelationalTransaction.GetReleaseSavepointSql(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.
When implemented in a provider supporting transaction savepoints, this method should return an SQL statement which releases a savepoint with the given name.
If savepoint release isn't supported, ReleaseSavepoint(String) and ReleaseSavepointAsync(String, CancellationToken) should be overridden to do nothing.
protected virtual string GetReleaseSavepointSql (string name);
abstract member GetReleaseSavepointSql : string -> string
override this.GetReleaseSavepointSql : string -> string
Protected Overridable Function GetReleaseSavepointSql (name As String) As String
Parameters
- name
- String
The name of the savepoint to be created.
Returns
An SQL string to create the savepoint.
Applies to
Entity Framework