Share via


EdmEntityContainer.FindSingleton(String) Method

Definition

Searches for a singleton with the given name in this entity container and returns null if no such singleton exists.

public virtual Microsoft.OData.Edm.IEdmSingleton FindSingleton (string singletonName);
abstract member FindSingleton : string -> Microsoft.OData.Edm.IEdmSingleton
override this.FindSingleton : string -> Microsoft.OData.Edm.IEdmSingleton
Public Overridable Function FindSingleton (singletonName As String) As IEdmSingleton

Parameters

singletonName
String

The name of the singleton to search.

Returns

The requested singleton, or null if the singleton does not exist.

Implements

Applies to