Share via


ODataModelBuilder.Singletons Property

 

Gets the collection of EDM singletons in the model to be built.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public virtual IEnumerable<SingletonConfiguration> Singletons { get; }
public:
property IEnumerable<SingletonConfiguration^>^ Singletons {
    virtual IEnumerable<SingletonConfiguration^>^ get();
}
abstract Singletons : IEnumerable<SingletonConfiguration> with get
override Singletons : IEnumerable<SingletonConfiguration> with get
Public Overridable ReadOnly Property Singletons As IEnumerable(Of SingletonConfiguration)

Property Value

Type: System.Collections.Generic.IEnumerable<SingletonConfiguration>

See Also

ODataModelBuilder Class
System.Web.OData.Builder Namespace

Return to top