EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
HasFeedSelfLink(Func<FeedContext, String>) | Adds a self link to the feed. |
|
HasFeedSelfLink(Func<FeedContext, Uri>) | Adds a self link to the feed. |
See Also
EntitySetConfiguration<TEntityType> Class
System.Web.Http.OData.Builder Namespace
Return to top
EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method (Func<FeedContext, String>)
Adds a self link to the feed.
Syntax
public void HasFeedSelfLink(
Func<FeedContext, string> feedSelfLinkFactory
)
public:
void HasFeedSelfLink(
Func<FeedContext^, String^>^ feedSelfLinkFactory
)
member HasFeedSelfLink :
feedSelfLinkFactory:Func<FeedContext, string> -> unit
Public Sub HasFeedSelfLink (
feedSelfLinkFactory As Func(Of FeedContext, String)
)
Parameters
feedSelfLinkFactory
Type: System.Func<FeedContext, String>The builder used to generate the link URL.
Return to top
EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method (Func<FeedContext, Uri>)
Adds a self link to the feed.
Syntax
public void HasFeedSelfLink(
Func<FeedContext, Uri> feedSelfLinkFactory
)
public:
void HasFeedSelfLink(
Func<FeedContext^, Uri^>^ feedSelfLinkFactory
)
member HasFeedSelfLink :
feedSelfLinkFactory:Func<FeedContext, Uri> -> unit
Public Sub HasFeedSelfLink (
feedSelfLinkFactory As Func(Of FeedContext, Uri)
)
Parameters
feedSelfLinkFactory
Type: System.Func<FeedContext, Uri>The builder used to generate the link URL.
Return to top