EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method (Func<FeedContext, String>)
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, String) _
)
'Usage
Dim instance As EntitySetConfiguration
Dim feedSelfLinkFactory As Func(Of FeedContext, String)
instance.HasFeedSelfLink(feedSelfLinkFactory)
public void HasFeedSelfLink(
Func<FeedContext, string> feedSelfLinkFactory
)
public:
void HasFeedSelfLink(
Func<FeedContext^, String^>^ feedSelfLinkFactory
)
member HasFeedSelfLink :
feedSelfLinkFactory:Func<FeedContext, string> -> unit
public function HasFeedSelfLink(
feedSelfLinkFactory : Func<FeedContext, String>
)
Parameters
- feedSelfLinkFactory
Type: System.Func<FeedContext, String>
The builder used to generate the link URL.