PocketContext

ContextEntity.Compare Method 

Compares the ContextEntity to a newer ContextEntity object of the same type.

public ContextEntityDifference[] Compare(
   ContextEntity contextEntity,
   Dictionary<TKey,TValue> excludedProperties
);

Parameters

contextEntity
The newer ContextEntity object
excludedProperties
A Dictionary<string, bool> containing properties to ignore in the comparison

Return Value

A ContextEntityDifference array of differences or null when the two entities are not of the same type.

See Also

ContextEntity Class | PocketContext Namespace