Share via


ExtensionMethods.FindDeclaredNavigationSource(IEdmModel, String) Method

Definition

Searches for entity set or singleton by the given name that may be container qualified in default container and .Extends containers. If no container name is provided, then default container will be searched.

public static Microsoft.OData.Edm.IEdmNavigationSource FindDeclaredNavigationSource (this Microsoft.OData.Edm.IEdmModel model, string qualifiedName);
static member FindDeclaredNavigationSource : Microsoft.OData.Edm.IEdmModel * string -> Microsoft.OData.Edm.IEdmNavigationSource
<Extension()>
Public Function FindDeclaredNavigationSource (model As IEdmModel, qualifiedName As String) As IEdmNavigationSource

Parameters

model
IEdmModel

The model to search.

qualifiedName
String

The name which might be container qualified. If no container name is provided, then default container will be searched.

Returns

The entity set or singleton found or empty if none found.

Applies to