PocketContext

ContextEntityCollection.Compare Method 

Compares this collection to a new collection

public ContextEntityDifference[] Compare(
   ContextEntityCollection newCollection,
   Dictionary<TKey,TValue> excludedProperties
);

Parameters

newCollection
The new ContextEntityCollection object
excludedProperties
A Dictionary<string, bool> containing properties to ignore in the comparison

Return Value

A ContextEntityDifference array or null if the two collections are not of the same type

See Also

ContextEntityCollection Class | PocketContext Namespace