AnsweredAssumed Answered

EditOperation's callback is not executed for SDE dataset

Question asked by maxmaxmaxmaxmax on Jul 4, 2017
Latest reply on Jul 6, 2017 by jeffmatson

I have following code:

 

var operation = new EditOperation
{
    Name = "Test edit operation",
    ShowModalMessageAfterFailure = false,
    EditOperationType = EditOperationType.Long,
    CancelMessage = null,
    ProgressMessage = null,
    ShowProgressor = false
};

operation.Callback(context =>
{
    // I never get here if fc is a feature class from SDE database
},
fc);

operation.Execute();

 

If fc is a feature class from SDE database I never fall to callback's body. If feature class is from FGDB all is OK. What am I doing wrong?

 

I'm taking a feature class from Geodatabase returned by GDBProjectItem.GetDatastore.

Outcomes