Property IsInTransaction
IsInTransaction
Gets a value indicating whether a transaction is active on the geodatabase.
Declaration
public bool IsInTransaction { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
A transaction manages a series of geodatabase edits as a single unit of work. You can start a transaction by calling BeginTransaction(). All edits made after this call are part of the transaction.
A geodatabase transaction stays active until you end it by calling CommitTransaction() or RollbackTransaction(). CommitTransaction() saves all edits in the transaction to the geodatabase and ends the transaction. RollbackTransaction() discards all edits in the transaction and ends the transaction.
If the app unexpectedly disconnects from the database, any active transaction will be rolled back. If the app crashes, or the user closes the app without saving edits, the transaction will be rolled back and the edits discarded.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |