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 | |
---|---|---|
EntityType | Gets the entity type contained in this navigation source configuration. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
FindBinding(NavigationPropertyConfiguration) | Finds the NavigationPropertyBindingConfiguration for the given navigation property and creates it if it does not exist. |
|
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the NavigationPropertyBindingConfiguration for the given navigation property. |
|
FindBinding(String) | Finds the NavigationPropertyBindingConfiguration for the navigation property with the given name. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
HasEditLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the edit link for the entities from this navigation source. |
|
HasIdLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the ID link for the entities from this navigation source. |
|
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. |
|
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. |
|
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean) | Configures the navigation link for the given navigation properties for entities from this navigation source. |
|
HasNavigationPropertyLink(NavigationPropertyConfiguration, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean) | Configures the navigation link for the given navigation property for entities from this navigation source. |
|
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. |
|
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. |
|
HasReadLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the read link for the entities from this navigation source. |
|
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. |
|
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. |
|
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. |
|
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. |
|
MemberwiseClone() | (Inherited from Object.) |
|
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