EdmModelExtensions.IsAssignableFrom(IEdmEntityType, IEdmEntityType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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