Share via


NavigationSourceConfiguration Class

Definition

Allows configuration to be performed for a navigation source (entity set, singleton) in a model.

public abstract class NavigationSourceConfiguration
type NavigationSourceConfiguration = class
Public MustInherit Class NavigationSourceConfiguration
Inheritance
NavigationSourceConfiguration
Derived

Constructors

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

Bindings

Gets the navigation targets of NavigationSourceConfiguration.

ClrType

Gets the backing Type for the entity type contained in this navigation source.

DerivedTypeConstraints

Set that determines the derived type constraints

EntityType

Gets the entity type contained in this navigation source.

Name

Gets the name of this navigation source.

Methods

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Binds the given navigation property to the target navigation source.

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Binds the given navigation property to the target navigation source.

FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)

Finds the binding for the given navigation property and tries to create it if it does not exist.

FindBinding(NavigationPropertyConfiguration)

Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property.

FindBindings(String)

Gets the bindings NavigationPropertyBindingConfiguration for the navigation property with the given name.

GetEditLink()

Gets the builder used to generate edit links for this navigation source.

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.

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.

RemoveBinding(NavigationPropertyConfiguration, String)

Removes the binding for the given navigation property and the given binding path.

RemoveBinding(NavigationPropertyConfiguration)

Removes the bindings for the given navigation property.

Applies to