Share via


EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method (Func<FeedContext, Uri>)

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 Sub HasFeedSelfLink ( _
    feedSelfLinkFactory As Func(Of FeedContext, Uri) _
)
'Usage
Dim instance As EntitySetConfiguration 
Dim feedSelfLinkFactory As Func(Of FeedContext, Uri)

instance.HasFeedSelfLink(feedSelfLinkFactory)
public void HasFeedSelfLink(
    Func<FeedContext, Uri> feedSelfLinkFactory
)
public:
void HasFeedSelfLink(
    Func<FeedContext^, Uri^>^ feedSelfLinkFactory
)
member HasFeedSelfLink : 
        feedSelfLinkFactory:Func<FeedContext, Uri> -> unit
public function HasFeedSelfLink(
    feedSelfLinkFactory : Func<FeedContext, Uri>
)

Parameters

See Also

Reference

EntitySetConfiguration<TEntityType> Class

HasFeedSelfLink Overload

System.Web.Http.OData.Builder Namespace