Share via


EntityTypeConfiguration Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod EntityTypeConfiguration()

Initializes a new instance of the EntityTypeConfiguration class.

System_CAPS_pubmethod EntityTypeConfiguration(ODataModelBuilder, Type)

Initializes a new instance of the EntityTypeConfiguration class.

See Also

EntityTypeConfiguration Class
System.Web.OData.Builder Namespace

Return to top

EntityTypeConfiguration Constructor ()

Initializes a new instance of the EntityTypeConfiguration class.

Syntax

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

Remarks

The default constructor is intended for use by unit testing only.

Return to top

EntityTypeConfiguration Constructor (ODataModelBuilder, Type)

Initializes a new instance of the EntityTypeConfiguration class.

Syntax

public EntityTypeConfiguration(
    ODataModelBuilder modelBuilder,
    Type clrType
)
public:
EntityTypeConfiguration(
    ODataModelBuilder^ modelBuilder,
    Type^ clrType
)
new : 
        modelBuilder:ODataModelBuilder *
        clrType:Type -> EntityTypeConfiguration
Public Sub New (
    modelBuilder As ODataModelBuilder,
    clrType As Type
)

Parameters

  • clrType
    Type: System.Type

    The backing CLR type for this entity type.

Return to top