Share via


ExtensionMethods.FindDeclaredSingleton(IEdmModel, String) Method

Definition

Searches for 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.IEdmSingleton FindDeclaredSingleton (this Microsoft.OData.Edm.IEdmModel model, string qualifiedName);
static member FindDeclaredSingleton : Microsoft.OData.Edm.IEdmModel * string -> Microsoft.OData.Edm.IEdmSingleton
<Extension()>
Public Function FindDeclaredSingleton (model As IEdmModel, qualifiedName As String) As IEdmSingleton

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 singleton found or empty if none found.

Applies to