EntitySetConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows configuration to be performed for an entity set in a model. A EntitySetConfiguration can be obtained by using the method EntitySet<TEntityType>(String).
public class EntitySetConfiguration : Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
type EntitySetConfiguration = class
inherit NavigationSourceConfiguration
Public Class EntitySetConfiguration
Inherits NavigationSourceConfiguration
- Inheritance
Constructors
EntitySetConfiguration() |
Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only. |
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
Bindings |
Gets the navigation targets of NavigationSourceConfiguration. (Inherited from NavigationSourceConfiguration) |
ClrType |
Gets the backing Type for the entity type contained in this navigation source. (Inherited from NavigationSourceConfiguration) |
DerivedTypeConstraints |
Set that determines the derived type constraints (Inherited from NavigationSourceConfiguration) |
EntityType |
Gets the entity type contained in this navigation source. (Inherited from NavigationSourceConfiguration) |
Name |
Gets the name of this navigation source. (Inherited from NavigationSourceConfiguration) |
Methods
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>) |
Binds the given navigation property to the target navigation source. (Inherited from NavigationSourceConfiguration) |
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration) |
Binds the given navigation property to the target navigation source. (Inherited from NavigationSourceConfiguration) |
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>) |
Finds the binding for the given navigation property and tries to create it if it does not exist. (Inherited from NavigationSourceConfiguration) |
FindBinding(NavigationPropertyConfiguration) |
Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property. (Inherited from NavigationSourceConfiguration) |
FindBindings(String) |
Gets the bindings NavigationPropertyBindingConfiguration for the navigation property with the given name. (Inherited from NavigationSourceConfiguration) |
GetEditLink() |
Gets the builder used to generate edit links for this navigation source. (Inherited from NavigationSourceConfiguration) |
GetFeedSelfLink() |
Gets the builder used to generate self links for feeds for this navigation source. |
GetIdLink() |
Gets the builder used to generate ID for this navigation source. (Inherited from NavigationSourceConfiguration) |
GetNavigationPropertyLink(NavigationPropertyConfiguration) |
Gets the builder used to generate navigation link for the given navigation property for this navigation source. (Inherited from NavigationSourceConfiguration) |
GetReadLink() |
Gets the builder used to generate read links for this navigation source. (Inherited from NavigationSourceConfiguration) |
GetUrl() |
Gets the navigation source URL. (Inherited from NavigationSourceConfiguration) |
HasDerivedTypeConstraint<TDerivedType>() |
Adds TDerived to the list of derived type constraints. |
HasDerivedTypeConstraints(Type[]) |
Adds subtypes to the list of derived type constraints. |
HasEditLink(SelfLinkBuilder<Uri>) |
Configures the edit link for this navigation source. (Inherited from NavigationSourceConfiguration) |
HasFeedSelfLink(Func<ResourceSetContext,Uri>) |
Adds a self link to the feed. |
HasIdLink(SelfLinkBuilder<Uri>) |
Configures the ID link for this navigation source. (Inherited from NavigationSourceConfiguration) |
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, NavigationLinkBuilder) |
Configures the navigation link for the given navigation properties for this navigation source. (Inherited from NavigationSourceConfiguration) |
HasNavigationPropertyLink(NavigationPropertyConfiguration, NavigationLinkBuilder) |
Configures the navigation link for the given navigation property for this navigation source. (Inherited from NavigationSourceConfiguration) |
HasReadLink(SelfLinkBuilder<Uri>) |
Configures the read link for this navigation source. (Inherited from NavigationSourceConfiguration) |
HasUrl(String) |
Configures the navigation source URL. (Inherited from NavigationSourceConfiguration) |
RemoveBinding(NavigationPropertyConfiguration, String) |
Removes the binding for the given navigation property and the given binding path. (Inherited from NavigationSourceConfiguration) |
RemoveBinding(NavigationPropertyConfiguration) |
Removes the bindings for the given navigation property. (Inherited from NavigationSourceConfiguration) |