Show / Hide Table of Contents

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

true if you can use ServiceGeodatabase.ApplyEditsAsync() to commit changes back to the service, false otherwise.

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
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.