Share via


EntityKey.Inequality(EntityKey, EntityKey) Operator

Definition

Compares two EntityKey objects.

public static bool operator != (System.Data.Entity.Core.EntityKey key1, System.Data.Entity.Core.EntityKey key2);
static member op_Inequality : System.Data.Entity.Core.EntityKey * System.Data.Entity.Core.EntityKey -> bool
Public Shared Operator != (key1 As EntityKey, key2 As EntityKey) As Boolean

Parameters

key1
EntityKey

A EntityKey to compare.

key2
EntityKey

A EntityKey to compare.

Returns

true if the key1 and key2 values are not equal; otherwise, false.

Applies to