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>.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.NavigationSourceConfiguration
    System.Web.OData.Builder.EntitySetConfiguration

Syntax

public class EntitySetConfiguration : NavigationSourceConfiguration
public ref class EntitySetConfiguration : NavigationSourceConfiguration
type EntitySetConfiguration = 
    class
        inherit NavigationSourceConfiguration
    end
Public Class EntitySetConfiguration
    Inherits NavigationSourceConfiguration

Constructors

Name Description
System_CAPS_pubmethod EntitySetConfiguration()

Initializes a new instance of the EntitySetConfiguration class. The default constructor is intended for use by unit testing only.

System_CAPS_pubmethod EntitySetConfiguration(ODataModelBuilder, EntityTypeConfiguration, String)

Initializes a new instance of the EntitySetConfiguration class.

System_CAPS_pubmethod EntitySetConfiguration(ODataModelBuilder, Type, String)

Initializes a new instance of the EntitySetConfiguration class.

Properties

Name Description
System_CAPS_pubproperty Bindings

Gets the navigation targets of NavigationSourceConfiguration.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubproperty ClrType

Gets the backing Type for the entity type contained in this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubproperty EntityType

Gets the entity type contained in this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubproperty Name

Gets the name of this navigation source.(Inherited from NavigationSourceConfiguration.)

Methods

Name Description
System_CAPS_pubmethod AddBinding(NavigationPropertyConfiguration, INavigationSourceConfiguration)

Binds the given navigation property to the target navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration)

Finds the binding for the given navigation property and tries to create it if it doesnot exist.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration, Boolean)

Finds the binding for the given navigation property.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod FindBinding(String)

Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod GetEditLink()

Gets the builder used to generate edit links for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod GetFeedSelfLink()

Gets the builder used to generate self links for feeds for this navigation source.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetIdLink()

Gets the builder used to generate ID for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod GetNavigationPropertyLink(NavigationPropertyConfiguration)

Gets the builder used to generate navigation link for the given navigation property for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod GetReadLink()

Gets the builder used to generate read links for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUrl()

Gets the navigation source URL.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasEditLink(SelfLinkBuilder<Uri>)

Configures the edit link for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasFeedSelfLink(Func<FeedContext, Uri>)

Adds a self link to the feed.

System_CAPS_pubmethod HasIdLink(SelfLinkBuilder<Uri>)

Configures the ID link for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, NavigationLinkBuilder)

Configures the navigation link for the given navigation properties for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasNavigationPropertyLink(NavigationPropertyConfiguration, NavigationLinkBuilder)

Configures the navigation link for the given navigation property for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasReadLink(SelfLinkBuilder<Uri>)

Configures the read link for this navigation source.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod HasUrl(String)

Configures the navigation source URL.(Inherited from NavigationSourceConfiguration.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RemoveBinding(NavigationPropertyConfiguration)

Removes the binding for the given navigation property.(Inherited from NavigationSourceConfiguration.)

System_CAPS_pubmethod 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.OData.Builder Namespace

Return to top