EntitySetConfiguration Constructor
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
EntitySetConfiguration() | Initializes a new instance of the EntitySetConfiguration class. |
|
EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) | Initializes a new instance of the EntitySetConfiguration class. |
|
EntitySetConfiguration(ODataModelBuilder, Type, String) | Initializes a new instance of the EntitySetConfiguration class.
|
See Also
EntitySetConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top
EntitySetConfiguration Constructor ()
Initializes a new instance of the EntitySetConfiguration class.
Syntax
public EntitySetConfiguration()
public:
EntitySetConfiguration()
new : unit -> EntitySetConfiguration
Public Sub New
Remarks
The default constructor is intended for use by unit testing only.
Return to top
EntitySetConfiguration Constructor (ODataModelBuilder, EntityTypeConfiguration, String)
Initializes a new instance of the EntitySetConfiguration class.
Syntax
public EntitySetConfiguration(
ODataModelBuilder modelBuilder,
EntityTypeConfiguration entityType,
string name
)
public:
EntitySetConfiguration(
ODataModelBuilder^ modelBuilder,
EntityTypeConfiguration^ entityType,
String^ name
)
new :
modelBuilder:ODataModelBuilder *
entityType:EntityTypeConfiguration *
name:string -> EntitySetConfiguration
Public Sub New (
modelBuilder As ODataModelBuilder,
entityType As EntityTypeConfiguration,
name As String
)
Parameters
modelBuilder
Type: System.Web.Http.OData.Builder.ODataModelBuilderThe ODataModelBuilder.
entityType
Type: System.Web.Http.OData.Builder.EntityTypeConfigurationThe entity type contained in this entity set.
name
Type: System.StringThe name of the entity set.
Return to top
EntitySetConfiguration Constructor (ODataModelBuilder, Type, String)
Initializes a new instance of the EntitySetConfiguration class.
- modelBuilder
The ODataModelBuilder.
- entityType
The CLR Type of the entity type contained in this entity set.
- name
The name of the entity set.
Syntax
public EntitySetConfiguration(
ODataModelBuilder modelBuilder,
Type entityType,
string name
)
public:
EntitySetConfiguration(
ODataModelBuilder^ modelBuilder,
Type^ entityType,
String^ name
)
new :
modelBuilder:ODataModelBuilder *
entityType:Type *
name:string -> EntitySetConfiguration
Public Sub New (
modelBuilder As ODataModelBuilder,
entityType As Type,
name As String
)
Parameters
- modelBuilder
Type: System.Web.Http.OData.Builder.ODataModelBuilder
- entityType
Type: System.Type
- name
Type: System.String
Return to top