API

IDbContextTransaction.RollbackToSavepoint

Reverts changes after the named savepoint without ending the entire transaction.

Formal Syntax & Structure

csharp syntaxcsharp
tx.RollbackToSavepoint("before_second")

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.tx.RollbackToSavepoint("before_second")
C# & .NET Reference