ComplexTypeConfiguration Constructor
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
ComplexTypeConfiguration() | Initializes a new instance of the ComplexTypeConfiguration class. |
|
ComplexTypeConfiguration(ODataModelBuilder, Type) | Initializes a new instance of the ComplexTypeConfiguration class.
|
See Also
ComplexTypeConfiguration Class
System.Web.OData.Builder Namespace
Return to top
ComplexTypeConfiguration Constructor ()
Initializes a new instance of the ComplexTypeConfiguration class.
Syntax
public ComplexTypeConfiguration()
public:
ComplexTypeConfiguration()
new : unit -> ComplexTypeConfiguration
Public Sub New
Remarks
The default constructor is intended for use by unit testing only.
Return to top
ComplexTypeConfiguration Constructor (ODataModelBuilder, Type)
Initializes a new instance of the ComplexTypeConfiguration class.
- modelBuilder
The ODataModelBuilder being used.
- clrType
The backing CLR type for this entity type.
Syntax
public ComplexTypeConfiguration(
ODataModelBuilder modelBuilder,
Type clrType
)
public:
ComplexTypeConfiguration(
ODataModelBuilder^ modelBuilder,
Type^ clrType
)
new :
modelBuilder:ODataModelBuilder *
clrType:Type -> ComplexTypeConfiguration
Public Sub New (
modelBuilder As ODataModelBuilder,
clrType As Type
)
Parameters
- modelBuilder
Type: System.Web.OData.Builder.ODataModelBuilder
- clrType
Type: System.Type
Return to top