EntityInstanceReference.Equals Method

Checks whether two objects are identical.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)


Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
Dim instance As EntityInstanceReference
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj


  • obj
    Type: System.Object

    The object to compare the given object to.

Return Value

Type: System.Boolean
true if identical; otherwise, false.


Equals(Object) compares the two objects based on their logical equality, that is it checks if all their properties are the same, and not for physical equality, that is if they are .NET references to the same object.

See Also


EntityInstanceReference Class

EntityInstanceReference Members

Microsoft.BusinessData.Runtime Namespace