A single change result which was applied on an object.
See the following operations to obtain the relevant constant values in order to extract the data from the change operation
IncrementOperationAddToCollectionOperationAddRangeToCollectionOperationRemoveFromCollectionOperationSetInDictionaryOperationRemoveFromDictionaryOperationSetOperationUnsetOperation
ExamplesCopyC#IChangeResult{MyObject} changeResult = space.Change(new SqlQuery{MyObject}("someField = 'someValue'), new ChangeSet().Increment("counterField", 1), ChangeModifiers.ReturnDetailedResults) foreach (IChangedEntryDetails{MyObject} changeEntryDetails in changeResult.Results) { IList{IChangeOperationResult} operations = changeEntryDetails.ChangeOperationsResults; foreach(IChangeOperationResult operationResult in operations) { if (IncrementOperation.Represents(operationResult.Operation) { String path = IncrementOperation.GetPath(operationResult.Operation); Number delta = IncrementOperation.GetDelta(operationResult.Operation); Number result = IncrementOperation.GetNewValue(operationResult); // ... do something with the result, path and delta } //... } }
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public interface IChangeOperationResult
Public Interface IChangeOperationResult
public interface class IChangeOperationResult
public interface IChangeOperationResult
Members