EntityTypeConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EntityTypeConfiguration() |
Initializes a new instance of the EntityTypeConfiguration class. |
EntityTypeConfiguration(ODataModelBuilder, Type) |
Initializes a new instance of the EntityTypeConfiguration class. |
EntityTypeConfiguration()
Initializes a new instance of the EntityTypeConfiguration class.
public EntityTypeConfiguration ();
Public Sub New ()
Remarks
The default constructor is intended for use by unit testing only.
Applies to
EntityTypeConfiguration(ODataModelBuilder, Type)
Initializes a new instance of the EntityTypeConfiguration class.
public EntityTypeConfiguration (Microsoft.AspNet.OData.Builder.ODataModelBuilder modelBuilder, Type clrType);
new Microsoft.AspNet.OData.Builder.EntityTypeConfiguration : Microsoft.AspNet.OData.Builder.ODataModelBuilder * Type -> Microsoft.AspNet.OData.Builder.EntityTypeConfiguration
Public Sub New (modelBuilder As ODataModelBuilder, clrType As Type)
Parameters
- modelBuilder
- ODataModelBuilder
The ODataModelBuilder being used.
- clrType
- Type
The backing CLR type for this entity type.