Share via


EdmElementComparer.IsEquivalentTo Method

Definition

Overloads

IsEquivalentTo(IEdmType, IEdmType)

Returns true if the compared type is semantically equivalent to this type. Schema types (IEdmSchemaType) are compared by their object refs.

IsEquivalentTo(IEdmTypeReference, IEdmTypeReference)

Returns true if the compared type reference is semantically equivalent to this type reference. Schema types (IEdmSchemaType) are compared by their object refs.

IsEquivalentTo(IEdmType, IEdmType)

Returns true if the compared type is semantically equivalent to this type. Schema types (IEdmSchemaType) are compared by their object refs.

public static bool IsEquivalentTo (this Microsoft.OData.Edm.IEdmType thisType, Microsoft.OData.Edm.IEdmType otherType);
static member IsEquivalentTo : Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmType -> bool
<Extension()>
Public Function IsEquivalentTo (thisType As IEdmType, otherType As IEdmType) As Boolean

Parameters

thisType
IEdmType

Type being compared.

otherType
IEdmType

Type being compared to.

Returns

Equivalence of the two types.

Applies to

IsEquivalentTo(IEdmTypeReference, IEdmTypeReference)

Returns true if the compared type reference is semantically equivalent to this type reference. Schema types (IEdmSchemaType) are compared by their object refs.

public static bool IsEquivalentTo (this Microsoft.OData.Edm.IEdmTypeReference thisType, Microsoft.OData.Edm.IEdmTypeReference otherType);
static member IsEquivalentTo : Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.Edm.IEdmTypeReference -> bool
<Extension()>
Public Function IsEquivalentTo (thisType As IEdmTypeReference, otherType As IEdmTypeReference) As Boolean

Parameters

thisType
IEdmTypeReference

Type reference being compared.

otherType
IEdmTypeReference

Type referenced being compared to.

Returns

Equivalence of the two type references.

Applies to