EntitySetConfiguration 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
EntitySetConfiguration() |
Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only. |
EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) |
Initializes a new instance of the EntitySetConfiguration class. |
EntitySetConfiguration(ODataModelBuilder, Type, String) |
Initializes a new instance of the EntitySetConfiguration class. |
EntitySetConfiguration()
Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only.
public EntitySetConfiguration ();
Public Sub New ()
Applies to
EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String)
Initializes a new instance of the EntitySetConfiguration class.
public EntitySetConfiguration (Microsoft.AspNet.OData.Builder.ODataModelBuilder modelBuilder, Microsoft.AspNet.OData.Builder.EntityTypeConfiguration entityType, string name);
new Microsoft.AspNet.OData.Builder.EntitySetConfiguration : Microsoft.AspNet.OData.Builder.ODataModelBuilder * Microsoft.AspNet.OData.Builder.EntityTypeConfiguration * string -> Microsoft.AspNet.OData.Builder.EntitySetConfiguration
Public Sub New (modelBuilder As ODataModelBuilder, entityType As EntityTypeConfiguration, name As String)
Parameters
- modelBuilder
- ODataModelBuilder
The ODataModelBuilder.
- entityType
- EntityTypeConfiguration
The entity type EntityTypeConfiguration contained in this entity set.
- name
- String
The name of the entity set.
Applies to
EntitySetConfiguration(ODataModelBuilder, Type, String)
Initializes a new instance of the EntitySetConfiguration class.
public EntitySetConfiguration (Microsoft.AspNet.OData.Builder.ODataModelBuilder modelBuilder, Type entityClrType, string name);
new Microsoft.AspNet.OData.Builder.EntitySetConfiguration : Microsoft.AspNet.OData.Builder.ODataModelBuilder * Type * string -> Microsoft.AspNet.OData.Builder.EntitySetConfiguration
Public Sub New (modelBuilder As ODataModelBuilder, entityClrType As Type, name As String)
Parameters
- modelBuilder
- ODataModelBuilder
The ODataModelBuilder.
- name
- String
The name of the entity set.