IsEquivalentTo Method (IEdmProperty, IEdmProperty)
Returns true if the compared property is semantically equivalent to this property.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsEquivalentTo ( _
thisProp As IEdmProperty, _
otherProp As IEdmProperty _
) As Boolean
'Usage
Dim thisProp As IEdmProperty
Dim otherProp As IEdmProperty
Dim returnValue As Boolean
returnValue = thisProp.IsEquivalentTo(otherProp)
public static bool IsEquivalentTo(
this IEdmProperty thisProp,
IEdmProperty otherProp
)
[ExtensionAttribute]
public:
static bool IsEquivalentTo(
IEdmProperty^ thisProp,
IEdmProperty^ otherProp
)
static member IsEquivalentTo :
thisProp:IEdmProperty *
otherProp:IEdmProperty -> bool
public static function IsEquivalentTo(
thisProp : IEdmProperty,
otherProp : IEdmProperty
) : boolean
Parameters
- thisProp
Type: Microsoft.Data.Edm..::..IEdmProperty
Reference to the calling object.
- otherProp
Type: Microsoft.Data.Edm..::..IEdmProperty
Property being compared to.
Return Value
Type: System..::..Boolean
Equivalence of the two properties.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmProperty. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).