ExtensionMethods.FindAllDerivedTypes Method

Finds a list of types that derive from the supplied type directly or indirectly, and across models.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindAllDerivedTypes ( _
    model As IEdmModel, _
    baseType As IEdmStructuredType _
) As IEnumerable(Of IEdmStructuredType)
'Usage
Dim model As IEdmModel 
Dim baseType As IEdmStructuredType 
Dim returnValue As IEnumerable(Of IEdmStructuredType)

returnValue = model.FindAllDerivedTypes(baseType)
public static IEnumerable<IEdmStructuredType> FindAllDerivedTypes(
    this IEdmModel model,
    IEdmStructuredType baseType
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmStructuredType^>^ FindAllDerivedTypes(
    IEdmModel^ model, 
    IEdmStructuredType^ baseType
)
static member FindAllDerivedTypes : 
        model:IEdmModel * 
        baseType:IEdmStructuredType -> IEnumerable<IEdmStructuredType> 
public static function FindAllDerivedTypes(
    model : IEdmModel, 
    baseType : IEdmStructuredType
) : IEnumerable<IEdmStructuredType>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmStructuredType>
A list of types that derive from the type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. 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).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace