EntityKey.Inequality Operator (EntityKey, EntityKey)

 

Indicates a value whether the two keys are not equal.

Namespace:   System.Data.Entity.Core
Assembly:  EntityFramework (in EntityFramework.dll)

public static bool operator !=(
	EntityKey key1,
	EntityKey key2
)

Parameters

key1
Type: System.Data.Entity.Core.EntityKey

A key to compare.

key2
Type: System.Data.Entity.Core.EntityKey

A key to compare.

Return Value

Type: System.Boolean

true if the two keys are not equal; otherwise, false.