ExtensionMethods.SchemaElementsAcrossModels Method

Gets all schema elements from the model, and models referenced by it.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SchemaElementsAcrossModels ( _
    model As IEdmModel _
) As IEnumerable(Of IEdmSchemaElement)
'Usage
Dim model As IEdmModel 
Dim returnValue As IEnumerable(Of IEdmSchemaElement)

returnValue = model.SchemaElementsAcrossModels()
public static IEnumerable<IEdmSchemaElement> SchemaElementsAcrossModels(
    this IEdmModel model
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmSchemaElement^>^ SchemaElementsAcrossModels(
    IEdmModel^ model
)
static member SchemaElementsAcrossModels : 
        model:IEdmModel -> IEnumerable<IEdmSchemaElement> 
public static function SchemaElementsAcrossModels(
    model : IEdmModel
) : IEnumerable<IEdmSchemaElement>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmSchemaElement>
The schema elements from the model, and models referenced by it.

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