public IDataChangesEx DataChanges(esriEditDataChangesType dataChangesType)
 {
     var workspaceEdit = CurrentWorkspace as IWorkspaceEdit2;
     return workspaceEdit.get_EditDataChanges(dataChangesType);
 }
예제 #2
0
 public IDataChangesEx get_EditDataChanges(esriEditDataChangesType editChangeType)
 {
     throw new NotImplementedException();
 }
예제 #3
0
        public IDataChangesEx DataChanges(esriEditDataChangesType dataChangesType)
        {
            var workspaceEdit = CurrentWorkspace as IWorkspaceEdit2;

            return(workspaceEdit.get_EditDataChanges(dataChangesType));
        }
예제 #4
0
 /// <summary>
 ///     Gets the changes (or edits) that have been made in the current edit session.
 /// </summary>
 /// <param name="source">The source workspace.</param>
 /// <param name="editDataChangesType">Type of the edit data changes.</param>
 /// <param name="func">The function used to determine if the differences should be determined for the specified table.</param>
 /// <param name="differenceTypes">The type of differences.</param>
 /// <returns>
 ///     Returns a <see cref="Dictionary{TKey,TValue}" /> representing the differences for the table
 ///     (or key).
 /// </returns>
 /// <exception cref="System.ArgumentNullException">differenceTypes</exception>
 /// <exception cref="System.InvalidOperationException">
 ///     The workspace must be within an edit session in order to determine the
 ///     edit changes.
 /// </exception>
 public static Dictionary <string, List <DifferenceRow> > GetEditChangesAsync(this IWorkspace source, esriEditDataChangesType editDataChangesType, Func <string, bool> func, params esriDifferenceType[] differenceTypes)
 {
     return(Task.Wait(() => source.GetEditChanges(editDataChangesType, func, differenceTypes)));
 }