DbTransaction.SupportsSavepoints Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob diese DbTransaction-Instanz Datenbanksicherungspunkte unterstützt.Gets a value that indicates whether this DbTransaction instance supports database savepoints. Wenn false, wird erwartet, dass die Methoden SaveAsync(String, CancellationToken), RollbackAsync(String, CancellationToken) und ReleaseAsync(String, CancellationToken) sowie deren synchrone Entsprechungen NotSupportedException auslösen.If false, the methods SaveAsync(String, CancellationToken), RollbackAsync(String, CancellationToken) and ReleaseAsync(String, CancellationToken) as well as their synchronous counterparts are expected to throw NotSupportedException.

public:
 virtual property bool SupportsSavepoints { bool get(); };
public virtual bool SupportsSavepoints { get; }
member this.SupportsSavepoints : bool
Public Overridable ReadOnly Property SupportsSavepoints As Boolean

Eigenschaftswert

Boolean

true , wenn diese DbTransaction Instanz Daten Bank Sicherungs Punkte unterstützt, andernfalls false .true if this DbTransaction instance supports database savepoints; otherwise, false.

Gilt für: