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 | |
---|---|---|
EntitySetConfiguration() | Initializes a new instance of the EntitySetConfiguration class. | |
EntitySetConfiguration(ODataModelBuilder, Type, String) | Initializes a new instance of the EntitySetConfiguration class. | |
EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) | Initializes a new instance of the EntitySetConfiguration class. |
Top
Properties
Name | Description | |
---|---|---|
Bindings | Gets the navigation targets of this entity set. | |
ClrType | Gets the backing clr type for the entity type contained in this entity set. | |
EntityType | Gets the entity type contained in this entity set. | |
Name | Gets the name of this entity set. |
Top
Methods
Name | Description | |
---|---|---|
AddBinding | Binds the given navigation property to the target entity set. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindBinding(String) | Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name. | |
FindBinding(NavigationPropertyConfiguration) | Finds the binding for the given navigation property and tries to create it if it does not exist. | |
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the binding for the given navigation property. | |
GetEditLink | Gets the builder used to generate edit links for entries from this entity set. | |
GetFeedSelfLink | Gets the builder used to generate self links for feeds for this entity set. | |
GetHashCode | (Inherited from Object.) | |
GetIdLink | Gets the builder used to generate ID for entries from this entity set. | |
GetNavigationPropertyLink | Gets the builder used to generate navigation link for the given navigation property for entries from this entity set. | |
GetReadLink | Gets the builder used to generate read links for entries from this entity set. | |
GetType | (Inherited from Object.) | |
GetUrl | Gets the entity set URL. | |
HasEditLink | Configures the edit link for the entities from this entity set. | |
HasFeedSelfLink | Adds a self link to the feed. | |
HasIdLink | Configures the ID for the entities from this 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. | |
HasReadLink | Configures the read link for the entities from this entity set. | |
HasUrl | Configures the entity set URL. | |
MemberwiseClone | (Inherited from Object.) | |
RemoveBinding | Removes the binding for the given navigation property. | |
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.