Share via


NavigationSourceConfiguration<TEntityType> Class

 

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.NavigationSourceConfiguration<TEntityType>
    System.Web.OData.Builder.EntitySetConfiguration<TEntityType>
    System.Web.OData.Builder.SingletonConfiguration<TEntityType>

Syntax

public abstract class NavigationSourceConfiguration<TEntityType>
where TEntityType : class
generic<typename TEntityType>
where TEntityType : ref class
public ref class NavigationSourceConfiguration abstract 
[<AbstractClass>]
type NavigationSourceConfiguration<'TEntityType when 'TEntityType : not struct> = class end
Public MustInherit Class NavigationSourceConfiguration(Of TEntityType As Class)

Type Parameters

  • TEntityType
    The entity type of the navigation source.

Properties

Name Description
System_CAPS_pubproperty EntityType

Gets the entity type contained in this navigation source configuration.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration)

Finds the NavigationPropertyBindingConfiguration for the given navigation property and creates it if it does not exist.

System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration, Boolean)

Finds the NavigationPropertyBindingConfiguration for the given navigation property.

System_CAPS_pubmethod FindBinding(String)

Finds the NavigationPropertyBindingConfiguration for the navigation property with the given name.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod HasEditLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean)

Configures the edit link for the entities from this navigation source.

System_CAPS_pubmethod HasIdLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean)

Configures the ID link for the entities from this navigation source.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean)

Configures the navigation link for the given navigation properties for entities from this navigation source.

System_CAPS_pubmethod HasNavigationPropertyLink(NavigationPropertyConfiguration, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean)

Configures the navigation link for the given navigation property for entities from this navigation source.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod HasReadLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean)

Configures the read link for the entities from this navigation source.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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