NavigationSourceConfiguration Class
Allows configuration to be performed for a navigation source (entity set, singleton) in a model.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Builder.NavigationSourceConfiguration
System.Web.OData.Builder.EntitySetConfiguration
System.Web.OData.Builder.SingletonConfiguration
Syntax
public abstract class NavigationSourceConfiguration : INavigationSourceConfiguration
public ref class NavigationSourceConfiguration abstract : INavigationSourceConfiguration
[<AbstractClass>]
type NavigationSourceConfiguration =
class
interface INavigationSourceConfiguration
end
Public MustInherit Class NavigationSourceConfiguration
Implements INavigationSourceConfiguration
Constructors
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. |
Properties
Name | Description | |
---|---|---|
Bindings | Gets the navigation targets of NavigationSourceConfiguration. |
|
ClrType | Gets the backing Type for the entity type contained in this navigation source. |
|
EntityType | Gets the entity type contained in this navigation source. |
|
Name | Gets the name of this navigation source. |
Methods
Name | Description | |
---|---|---|
AddBinding(NavigationPropertyConfiguration, INavigationSourceConfiguration) | Binds the given navigation property to the target navigation source. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
FindBinding(NavigationPropertyConfiguration) | Finds the binding for the given navigation property and tries to create it if it doesnot exist. |
|
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the binding for the given navigation property. |
|
FindBinding(String) | Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name. |
|
GetEditLink() | Gets the builder used to generate edit links for this navigation source. |
|
GetHashCode() | (Inherited from Object.) |
|
GetIdLink() | Gets the builder used to generate ID for this navigation source. |
|
GetNavigationPropertyLink(NavigationPropertyConfiguration) | Gets the builder used to generate navigation link for the given navigation property for this navigation source. |
|
GetReadLink() | Gets the builder used to generate read links for this navigation source. |
|
GetType() | (Inherited from Object.) |
|
GetUrl() | Gets the navigation source URL. |
|
HasEditLink(SelfLinkBuilder<Uri>) | Configures the edit link for this navigation source. |
|
HasIdLink(SelfLinkBuilder<Uri>) | Configures the ID link for this navigation source. |
|
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, NavigationLinkBuilder) | Configures the navigation link for the given navigation properties for this navigation source. |
|
HasNavigationPropertyLink(NavigationPropertyConfiguration, NavigationLinkBuilder) | Configures the navigation link for the given navigation property for this navigation source. |
|
HasReadLink(SelfLinkBuilder<Uri>) | Configures the read link for this navigation source. |
|
HasUrl(String) | Configures the navigation source URL. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoveBinding(NavigationPropertyConfiguration) | Removes the binding for the given navigation property. |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.OData.Builder Namespace
Return to top