Share via


EdmModelExtensions.IsAssignableFrom(IEdmEntityType, IEdmEntityType) Method

Definition

Caution

This API is now deprecated.

Checks if the baseType is assignable to subtype. In other words, if subtype is a subtype of baseType or not.

[System.Obsolete]
public static bool IsAssignableFrom(this Microsoft.OData.Edm.IEdmEntityType baseType, Microsoft.OData.Edm.IEdmEntityType subtype);
[<System.Obsolete>]
static member IsAssignableFrom : Microsoft.OData.Edm.IEdmEntityType * Microsoft.OData.Edm.IEdmEntityType -> bool
<Extension()>
Public Function IsAssignableFrom (baseType As IEdmEntityType, subtype As IEdmEntityType) As Boolean

Parameters

baseType
IEdmEntityType

Type of the base type.

subtype
IEdmEntityType

Type of the sub type.

Returns

true, if the baseType is assignable to subtype. Otherwise returns false.

Attributes

Applies to