EntitySetConfiguration<TEntityType> Class
Represents an IEdmEntitySet that can be built using ODataModelBuilder.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.EntitySetConfiguration<TEntityType>
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class EntitySetConfiguration(Of TEntityType As Class)
'Usage
Dim instance As EntitySetConfiguration(Of TEntityType)
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
JScript does not support generic types and methods.
Type Parameters
- TEntityType
The element type of the entity set.
The EntitySetConfiguration<TEntityType> type exposes the following members.
Properties
Name | Description | |
---|---|---|
EntityType | Gets the entity type contained in this entity set. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindBinding(String) | Finds the NavigationPropertyBindingConfiguration for the navigation property with the given name. | |
FindBinding(NavigationPropertyConfiguration) | Finds the NavigationPropertyBindingConfiguration for the navigation property or creates it if it does not exist. | |
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the NavigationPropertyBindingConfiguration for the given navigation property. | |
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 | Configures the ID link for the entities from this 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>(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, 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. | |
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. | |
HasNavigationPropertiesLink | Configures the navigation link for the given navigation properties for entities from this entity set. | |
HasNavigationPropertyLink | Configures the navigation link for the given navigation property for entities from this 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>(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, 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, 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. | |
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>>, 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>>, 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. | |
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. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.