Share via


ExtensionMethods.TryFindContainerQualifiedSingleton Method

Definition

Finds the singleton.

public static bool TryFindContainerQualifiedSingleton (this Microsoft.OData.Edm.IEdmModel model, string containerQualifiedSingletonName, out Microsoft.OData.Edm.IEdmSingleton singleton);
static member TryFindContainerQualifiedSingleton : Microsoft.OData.Edm.IEdmModel * string * IEdmSingleton -> bool
<Extension()>
Public Function TryFindContainerQualifiedSingleton (model As IEdmModel, containerQualifiedSingletonName As String, ByRef singleton As IEdmSingleton) As Boolean

Parameters

model
IEdmModel

The model.

containerQualifiedSingletonName
String

Name of the container qualified singleton element.

singleton
IEdmSingleton

The singleton that was found.

Returns

True if an singleton was found from the qualified container name, false if none were found.

Applies to