EntitySetConfiguration<TEntityType> Class
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.EntitySetConfiguration<TEntityType>
Syntax
public class EntitySetConfiguration<TEntityType>
where TEntityType : class
generic<typename TEntityType>
where TEntityType : ref class
public ref class EntitySetConfiguration
type EntitySetConfiguration<'TEntityType when 'TEntityType : not struct> = class end
Public Class EntitySetConfiguration(Of TEntityType As Class)
Type Parameters
- TEntityType
The element type of the entity set.
Properties
Name | Description | |
---|---|---|
EntityType | Gets the entity type contained in this entity set. |
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>, String>, Boolean) | Configures the edit link for the entities from this entity set. |
|
HasEditLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the edit link for the entities from this entity set. |
|
HasFeedSelfLink(Func<FeedContext, String>) | Adds a self link to the feed. |
|
HasFeedSelfLink(Func<FeedContext, Uri>) | Adds a self link to the feed. |
|
HasIdLink(Func<EntityInstanceContext<TEntityType>, String>, Boolean) | Configures the ID link for the entities from this entity set. |
|
HasManyBinding<TTargetType>(Expression<Func<TEntityType, IEnumerable<TTargetType>>>, EntitySetConfiguration<TTargetType>) | Configures a 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 a 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>>>, EntitySetConfiguration<TTargetType>) | Configures a 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 a 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 entity set. |
|
HasNavigationPropertyLink(NavigationPropertyConfiguration, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean) | Configures the navigation link for the given navigation property for entities from this entity set. |
|
HasOptionalBinding<TTargetType>(Expression<Func<TEntityType, TTargetType>>, EntitySetConfiguration<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>>, EntitySetConfiguration<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>, String>, Boolean) | Configures the read link for the entities from this entity set. |
|
HasReadLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the read link for the entities from this entity set. |
|
HasRequiredBinding<TTargetType>(Expression<Func<TEntityType, TTargetType>>, EntitySetConfiguration<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>>, EntitySetConfiguration<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. |
|
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.Http.OData.Builder Namespace
Return to top