EntityKey.Equals Method

 

Indicates a value whether this instance is equal to the given key.

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

NameDescription
System_CAPS_pubmethodEquals(EntityKey)

Indicates a value whether this instance is equal to the given key.

System_CAPS_pubmethodEquals(Object)

Indicates a value whether this instance is equal to the given key.(Overrides Object.Equals(Object).)


EntityKey.Equals Method (EntityKey)

Indicates a value whether this instance is equal to the given key.

public bool Equals(
	EntityKey other
)

Parameters

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

The key to compare against this instance.

Return Value

Type: System.Boolean

true if this instance is equal to the given key; otherwise, false.


EntityKey.Equals Method (Object)

Indicates a value whether this instance is equal to the given key.

public override bool Equals(
	object obj
)

Parameters

obj
Type: System.Object

The key to compare against this instance.

Return Value

Type: System.Boolean

true if this instance is equal to the given key; otherwise, false.