Compares two EntityKey objects.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Temporary keys have different comparison semantics than permanent keys:
Permanent keys determine equality based on the values of the contained key properties and the EntitySet. That is, you can have two separate EntityKey instances that are equal if their entity sets are the same and their key values are equal.
In addition, temporary keys have no EntitySet or key values, but permanent keys do.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2