Share via


ODataModelBuilder.EntitySets Property

Gets the collection of EDM entity sets in the model to be built.

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

Syntax

'Declaration
Public Overridable ReadOnly Property EntitySets As IEnumerable(Of EntitySetConfiguration)
    Get
'Usage
Dim instance As ODataModelBuilder 
Dim value As IEnumerable(Of EntitySetConfiguration)

value = instance.EntitySets
public virtual IEnumerable<EntitySetConfiguration> EntitySets { get; }
public:
virtual property IEnumerable<EntitySetConfiguration^>^ EntitySets {
    IEnumerable<EntitySetConfiguration^>^ get ();
}
abstract EntitySets : IEnumerable<EntitySetConfiguration>
override EntitySets : IEnumerable<EntitySetConfiguration>
function get EntitySets () : IEnumerable<EntitySetConfiguration>

Property Value

Type: System.Collections.Generic.IEnumerable<EntitySetConfiguration>
The collection of EDM entity sets in the model to be built.

See Also

Reference

ODataModelBuilder Class

System.Web.Http.OData.Builder Namespace