ArcGIS Pro 2.8 API Reference Guide
ApplyEdits(Action,Boolean) Method

ArcGIS.Core.Data Namespace > Geodatabase Class > ApplyEdits Method : ApplyEdits(Action,Boolean) Method
Saves the edits undertaken by this delegate to the underlying geodatabase.
Declares whether to perform the transaction in a versioned or non-versioned edit session mode. This applies only for enterprise geodatabases.
Executes the action delegate as a single transaction in a given versioned edit session mode. The transaction either completes successfully or is aborted and rolled back.
Syntax
public void ApplyEdits( 
   Action action,
   bool isVersionedEditSession
)
Public Overloads Sub ApplyEdits( _
   ByVal action As Action, _
   ByVal isVersionedEditSession As Boolean _
) 

Parameters

action
Saves the edits undertaken by this delegate to the underlying geodatabase.
isVersionedEditSession
Declares whether to perform the transaction in a versioned or non-versioned edit session mode. This applies only for enterprise geodatabases.
Exceptions
ExceptionDescription
No valid geodatabase has been opened prior to invoking this operation.
This operation is not supported in client-server mode.
action is null.
A transaction-related exception has occurred.
A geodatabase-related exception has occurred.
The exception propagated by the action delegate.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Geodatabase Class
Geodatabase Members
Overload List