ExtensionMethods.FindDeclaredSingleton(IEdmModel, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.