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