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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework