IDbContextTransaction.SupportsSavepoints Property
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.
Gets a value that indicates whether this IDbContextTransaction instance supports
database savepoints. If false
, the methods CreateSavepointAsync(String, CancellationToken),
RollbackToSavepointAsync(String, CancellationToken)
and ReleaseSavepointAsync(String, CancellationToken) as well as their synchronous counterparts are expected to throw
NotSupportedException.
public virtual bool SupportsSavepoints { get; }
member this.SupportsSavepoints : bool
Public Overridable ReadOnly Property SupportsSavepoints As Boolean
Property Value
true
if this IDbContextTransaction instance supports database savepoints;
otherwise, false
.
Remarks
See Transactions in EF Core for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for