Share via


EntitySetConfiguration Constructors

Definition

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

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

entityClrType
Type

The Type of the entity type contained in this entity set.

name
String

The name of the entity set.

Applies to