EntityKey.Equality(EntityKey, EntityKey) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two EntityKey objects.
public static bool operator ==(System.Data.Entity.Core.EntityKey key1, System.Data.Entity.Core.EntityKey key2);
static member ( = ) : System.Data.Entity.Core.EntityKey * System.Data.Entity.Core.EntityKey -> bool
Public Shared Operator == (key1 As EntityKey, key2 As EntityKey) As Boolean
Parameters
Returns
true if the key1 and key2 values are equal; otherwise, false.