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
- feedSelfLinkFactory
Type: System.Func<FeedContext, Uri>
The builder used to generate the link URL.