EntityTypeConfiguration Constructor
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
EntityTypeConfiguration() | Initializes a new instance of the EntityTypeConfiguration class. |
|
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
modelBuilder
Type: System.Web.OData.Builder.ODataModelBuilderThe ODataModelBuilder being used.
clrType
Type: System.TypeThe backing CLR type for this entity type.
Return to top