Share via


EntitySetConfiguration Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod EntitySetConfiguration()

Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only.

System_CAPS_pubmethod EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String)

Initializes a new instance of the EntitySetConfiguration class.

System_CAPS_pubmethod EntitySetConfiguration(ODataModelBuilder, Type, String)

Initializes a new instance of the EntitySetConfiguration class.

See Also

EntitySetConfiguration Class
System.Web.OData.Builder Namespace

Return to top

EntitySetConfiguration Constructor ()

Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only.

Syntax

public EntitySetConfiguration()
public:
EntitySetConfiguration()
new : unit -> EntitySetConfiguration
Public Sub New

Return to top

EntitySetConfiguration Constructor (ODataModelBuilder, EntityTypeConfiguration, String)

Initializes a new instance of the EntitySetConfiguration class.

Syntax

public EntitySetConfiguration(
    ODataModelBuilder modelBuilder,
    EntityTypeConfiguration entityType,
    string name
)
public:
EntitySetConfiguration(
    ODataModelBuilder^ modelBuilder,
    EntityTypeConfiguration^ entityType,
    String^ name
)
new : 
        modelBuilder:ODataModelBuilder *
        entityType:EntityTypeConfiguration *
        name:string -> EntitySetConfiguration
Public Sub New (
    modelBuilder As ODataModelBuilder,
    entityType As EntityTypeConfiguration,
    name As String
)

Parameters

Return to top

EntitySetConfiguration Constructor (ODataModelBuilder, Type, String)

Initializes a new instance of the EntitySetConfiguration class.

Syntax

public EntitySetConfiguration(
    ODataModelBuilder modelBuilder,
    Type entityClrType,
    string name
)
public:
EntitySetConfiguration(
    ODataModelBuilder^ modelBuilder,
    Type^ entityClrType,
    String^ name
)
new : 
        modelBuilder:ODataModelBuilder *
        entityClrType:Type *
        name:string -> EntitySetConfiguration
Public Sub New (
    modelBuilder As ODataModelBuilder,
    entityClrType As Type,
    name As String
)

Parameters

  • entityClrType
    Type: System.Type

    The Type of the entity type contained in this entity set.

Return to top