Share via


EdmTypeSemantics.IsOnSameTypeHierarchyLineWith(IEdmType, IEdmType) Method

Definition

Determines whether thisType is the same as otherType, or thisType derives from otherType, or otherType derives from thisType.

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

Parameters

thisType
IEdmType

This EDM type.

otherType
IEdmType

The other EDM type.

Returns

true if thisType and otherType are along the same line in the type hierarchy; false otherwise.

Applies to