EntitySetConfiguration Class
Allows configuration to be performed for a entity set in a model. A EntitySetConfiguration can be obtained by using the method EntitySet<TEntityType>.
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
Syntax
public class EntitySetConfiguration
public ref class EntitySetConfiguration
type EntitySetConfiguration = class end
Public Class EntitySetConfiguration
Constructors
Name | Description | |
---|---|---|
EntitySetConfiguration() | Initializes a new instance of the EntitySetConfiguration class. |
|
EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) | Initializes a new instance of the EntitySetConfiguration class. |
|
EntitySetConfiguration(ODataModelBuilder, Type, String) | Initializes a new instance of the EntitySetConfiguration class.
|
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. |
Methods
Name | Description | |
---|---|---|
AddBinding(NavigationPropertyConfiguration, EntitySetConfiguration) | Binds the given navigation property to the target entity set. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
FindBinding(NavigationPropertyConfiguration) | Finds the binding for the given navigation property and tries to create it if it doesnot exist. |
|
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the binding for the given navigation property. |
|
FindBinding(String) | Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name. |
|
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(NavigationPropertyConfiguration) | 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(SelfLinkBuilder<Uri>) | Configures the edit link for the entities from this entity set. |
|
HasFeedSelfLink(Func<FeedContext, Uri>) | Adds a self link to the feed. |
|
HasIdLink(SelfLinkBuilder<String>) | Configures the ID for the entities from this entity set. |
|
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, NavigationLinkBuilder) | Configures the navigation link for the given navigation properties for entities from this entity set. |
|
HasNavigationPropertyLink(NavigationPropertyConfiguration, NavigationLinkBuilder) | Configures the navigation link for the given navigation property for entities from this entity set. |
|
HasReadLink(SelfLinkBuilder<Uri>) | Configures the read link for the entities from this entity set. |
|
HasUrl(String) | Configures the entity set URL. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoveBinding(NavigationPropertyConfiguration) | Removes the binding for the given navigation property. |
|
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