Share via


EntitySetConfiguration Constructor (ODataModelBuilder, Type, String)

Initializes a new instance of the EntitySetConfiguration class.

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

Syntax

'Declaration
Public Sub New ( _
    modelBuilder As ODataModelBuilder, _
    entityType As Type, _
    name As String _
)
'Usage
Dim modelBuilder As ODataModelBuilder 
Dim entityType As Type 
Dim name As String 

Dim instance As New EntitySetConfiguration(modelBuilder, _
    entityType, name)
public EntitySetConfiguration(
    ODataModelBuilder modelBuilder,
    Type entityType,
    string name
)
public:
EntitySetConfiguration(
    ODataModelBuilder^ modelBuilder, 
    Type^ entityType, 
    String^ name
)
new : 
        modelBuilder:ODataModelBuilder * 
        entityType:Type * 
        name:string -> EntitySetConfiguration
public function EntitySetConfiguration(
    modelBuilder : ODataModelBuilder, 
    entityType : Type, 
    name : String
)

Parameters

  • entityType
    Type: System.Type
    The CLR Type of the entity type contained in this entity set.

See Also

Reference

EntitySetConfiguration Class

EntitySetConfiguration Overload

System.Web.Http.OData.Builder Namespace