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