EntityTypeConfiguration Constructor (ODataModelBuilder, Type)
Initializes a new instance of the EntityTypeConfiguration 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, _
clrType As Type _
)
'Usage
Dim modelBuilder As ODataModelBuilder
Dim clrType As Type
Dim instance As New EntityTypeConfiguration(modelBuilder, _
clrType)
public EntityTypeConfiguration(
ODataModelBuilder modelBuilder,
Type clrType
)
public:
EntityTypeConfiguration(
ODataModelBuilder^ modelBuilder,
Type^ clrType
)
new :
modelBuilder:ODataModelBuilder *
clrType:Type -> EntityTypeConfiguration
public function EntityTypeConfiguration(
modelBuilder : ODataModelBuilder,
clrType : Type
)
Parameters
- modelBuilder
Type: System.Web.Http.OData.Builder.ODataModelBuilder
The ODataModelBuilder being used.
- clrType
Type: System.Type
The CLR type.