Property CanUseServiceGeodatabaseApplyEdits
CanUseServiceGeodatabaseApplyEdits
Gets a value indicating whether you can use ServiceGeodatabase.ApplyEditsAsync() to commit changes back to the service, false
otherwise.
Declaration
public bool CanUseServiceGeodatabaseApplyEdits { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This value is true
if the support for global IDs in all tables in the geodatabase is enabled, or support
for global IDs in all tables in the geodatabase is disabled, false
otherwise.
ServiceGeodatabase.ApplyEditsAsync() applies edits to all affected tables as a single transaction. This is the recommended approach for applying edits. However, if the service has been setup with mixed support for global IDs, then you must apply the edits individually to each affected table using ServiceFeatureTable.ApplyEditsAsync()
If ServiceGeodatabase.ApplyEditsAsync() is used when this property is set to false
, it can fail with
GeodatabaseGlobalIdSupportMismatchException
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |