NavigationSourceConfiguration<TEntityType> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an IEdmNavigationSource that can be built using ODataModelBuilder. The entity type of the navigation source.
public abstract class NavigationSourceConfiguration<TEntityType> where TEntityType : class
type NavigationSourceConfiguration<'EntityType (requires 'EntityType : null)> = class
Public MustInherit Class NavigationSourceConfiguration(Of TEntityType)
Type Parameters
- TEntityType
- Inheritance
-
NavigationSourceConfiguration<TEntityType>
- Derived
Properties
Binding |
Gets a binding path configuration through which you can configure binding paths for the navigation property of this navigation source. |
EntityType |
Gets the entity type contained in this navigation source configuration. |
Methods
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>) |
Finds the NavigationPropertyBindingConfiguration for the given navigation property. |
FindBinding(NavigationPropertyConfiguration) |
Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property |
FindBindings(String) |
Finds the bindings NavigationPropertyBindingConfiguration for the navigation property with the given name. |
HasEditLink(Func<ResourceContext<TEntityType>,Uri>, Boolean) |
Configures the edit link for the entities from this navigation source. |
HasIdLink(Func<ResourceContext<TEntityType>,Uri>, Boolean) |
Configures the ID link for the entities from this navigation source. |
HasManyBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType, IEnumerable<TTargetType>>>, NavigationSourceConfiguration<TTargetType>) |
Configures an one-to-many relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasManyBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,IEnumerable<TTargetType>>>, String) |
Configures an one-to-many relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasManyBinding<TTargetType>(Expression<Func<TEntityType,IEnumerable<TTargetType>>>, NavigationSourceConfiguration<TTargetType>) |
Configures an one-to-many relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasManyBinding<TTargetType>(Expression<Func<TEntityType,IEnumerable<TTargetType>>>, String) |
Configures an one-to-many relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, Func<ResourceContext<TEntityType>,IEdmNavigationProperty,Uri>, Boolean) |
Configures the navigation link for the given navigation properties for entities from this navigation source. |
HasNavigationPropertyLink(NavigationPropertyConfiguration, Func<ResourceContext<TEntityType>,IEdmNavigationProperty,Uri>, Boolean) |
Configures the navigation link for the given navigation property for entities from this navigation source. |
HasOptionalBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures an optional relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasOptionalBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, String) |
Configures an optional relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasOptionalBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures an optional relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasOptionalBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, String) |
Configures an optional relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasReadLink(Func<ResourceContext<TEntityType>,Uri>, Boolean) |
Configures the read link for the entities from this navigation source. |
HasRequiredBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasRequiredBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, String) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasRequiredBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasRequiredBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, String) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given entity set. |
HasSingletonBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given singleton. |
HasSingletonBinding<TTargetType,TDerivedEntityType>(Expression<Func<TDerivedEntityType,TTargetType>>, String) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given singleton. |
HasSingletonBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, NavigationSourceConfiguration<TTargetType>) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given singleton. |
HasSingletonBinding<TTargetType>(Expression<Func<TEntityType,TTargetType>>, String) |
Configures a required relationship from this entity type and binds the corresponding navigation property to the given singleton. |