Share via


EntityKey.Equals Method

Definition

Overloads

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

Equals(EntityKey)

Returns a value that indicates whether this instance is equal to a specified EntityKey .

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An Object to compare with this instance.

Returns

true if this instance and obj have equal values; otherwise, false.

Applies to

Equals(EntityKey)

Returns a value that indicates whether this instance is equal to a specified EntityKey .

public bool Equals (System.Data.Entity.Core.EntityKey other);
override this.Equals : System.Data.Entity.Core.EntityKey -> bool
Public Function Equals (other As EntityKey) As Boolean

Parameters

other
EntityKey

An EntityKey object to compare with this instance.

Returns

true if this instance and other have equal values; otherwise, false.

Implements

Applies to