ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraph Class / ApplyEdits Method
Saves the edits undertaken by this delegate to the underlying geodatabase.

In This Topic
    ApplyEdits Method (KnowledgeGraph)
    In This Topic
    Executes the action delegate as a single transaction. The transaction either completes successfully or is aborted and rolled back. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void ApplyEdits( 
       Action action
    )
    Public Sub ApplyEdits( _
       ByVal action As Action _
    ) 

    Parameters

    action
    Saves the edits undertaken by this delegate to the underlying geodatabase.
    Exceptions
    ExceptionDescription
    Please make sure a valid knowledge graph has been opened first.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also