EntityInstanceReference.Equals Method

Checks whether two objects are identical.

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

Syntax

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

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

Parameters

  • obj
    Type: System.Object

    The object to compare the given object to.

Return Value

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

Remarks

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

Reference

EntityInstanceReference Class

EntityInstanceReference Members

Microsoft.BusinessData.Runtime Namespace