Share via


EntitySetConfiguration Class

Allows configuration to be performed for an entity set in a model. A EntitySetConfiguration can be obtained by using the method EntitySet<TEntityType>(String) .

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.EntitySetConfiguration

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

Syntax

'Declaration
Public Class EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration
public class EntitySetConfiguration
public ref class EntitySetConfiguration
type EntitySetConfiguration =  class end
public class EntitySetConfiguration

The EntitySetConfiguration type exposes the following members.

Constructors

  Name Description
Public method EntitySetConfiguration() Initializes a new instance of the EntitySetConfiguration class.
Public method EntitySetConfiguration(ODataModelBuilder, Type, String) Initializes a new instance of the EntitySetConfiguration class.
Public method EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) Initializes a new instance of the EntitySetConfiguration class.

Top

Properties

  Name Description
Public property Bindings Gets the navigation targets of this entity set.
Public property ClrType Gets the backing clr type for the entity type contained in this entity set.
Public property EntityType Gets the entity type contained in this entity set.
Public property Name Gets the name of this entity set.

Top

Methods

  Name Description
Public method AddBinding Binds the given navigation property to the target entity set.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindBinding(String) Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name.
Public method FindBinding(NavigationPropertyConfiguration) Finds the binding for the given navigation property and tries to create it if it does not exist.
Public method FindBinding(NavigationPropertyConfiguration, Boolean) Finds the binding for the given navigation property.
Public method GetEditLink Gets the builder used to generate edit links for entries from this entity set.
Public method GetFeedSelfLink Gets the builder used to generate self links for feeds for this entity set.
Public method GetHashCode (Inherited from Object.)
Public method GetIdLink Gets the builder used to generate ID for entries from this entity set.
Public method GetNavigationPropertyLink Gets the builder used to generate navigation link for the given navigation property for entries from this entity set.
Public method GetReadLink Gets the builder used to generate read links for entries from this entity set.
Public method GetType (Inherited from Object.)
Public method GetUrl Gets the entity set URL.
Public method HasEditLink Configures the edit link for the entities from this entity set.
Public method HasFeedSelfLink Adds a self link to the feed.
Public method HasIdLink Configures the ID for the entities from this entity set.
Public method HasNavigationPropertiesLink Configures the navigation link for the given navigation properties for entities from this entity set.
Public method HasNavigationPropertyLink Configures the navigation link for the given navigation property for entities from this entity set.
Public method HasReadLink Configures the read link for the entities from this entity set.
Public method HasUrl Configures the entity set URL.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveBinding Removes the binding for the given navigation property.
Public method 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.

See Also

Reference

System.Web.Http.OData.Builder Namespace