RelationalTransaction.GetRollbackToSavepointSql(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 rolls back a savepoint with the given name.
protected virtual string GetRollbackToSavepointSql (string name);
abstract member GetRollbackToSavepointSql : string -> string
override this.GetRollbackToSavepointSql : string -> string
Protected Overridable Function GetRollbackToSavepointSql (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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework