Share via


EntitySetConfiguration.HasFeedSelfLink Method

Adds a self link to the feed.

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

Syntax

'Declaration
Public Overridable Function HasFeedSelfLink ( _
    feedSelfLinkFactory As Func(Of FeedContext, Uri) _
) As EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration 
Dim feedSelfLinkFactory As Func(Of FeedContext, Uri)
Dim returnValue As EntitySetConfiguration 

returnValue = instance.HasFeedSelfLink(feedSelfLinkFactory)
public virtual EntitySetConfiguration HasFeedSelfLink(
    Func<FeedContext, Uri> feedSelfLinkFactory
)
public:
virtual EntitySetConfiguration^ HasFeedSelfLink(
    Func<FeedContext^, Uri^>^ feedSelfLinkFactory
)
abstract HasFeedSelfLink : 
        feedSelfLinkFactory:Func<FeedContext, Uri> -> EntitySetConfiguration  
override HasFeedSelfLink : 
        feedSelfLinkFactory:Func<FeedContext, Uri> -> EntitySetConfiguration
public function HasFeedSelfLink(
    feedSelfLinkFactory : Func<FeedContext, Uri>
) : EntitySetConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.EntitySetConfiguration
The entity set configuration currently being configured.

See Also

Reference

EntitySetConfiguration Class

System.Web.Http.OData.Builder Namespace