EntitySetConfiguration<TEntityType>.HasFeedSelfLink Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HasFeedSelfLink(Func<ResourceSetContext,String>) |
Adds a self link to the feed. |
HasFeedSelfLink(Func<ResourceSetContext,Uri>) |
Adds a self link to the feed. |
HasFeedSelfLink(Func<ResourceSetContext,String>)
Adds a self link to the feed.
public virtual void HasFeedSelfLink (Func<Microsoft.AspNet.OData.ResourceSetContext,string> feedSelfLinkFactory);
abstract member HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, string> -> unit
override this.HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, string> -> unit
Public Overridable Sub HasFeedSelfLink (feedSelfLinkFactory As Func(Of ResourceSetContext, String))
Parameters
- feedSelfLinkFactory
- Func<ResourceSetContext,String>
The builder used to generate the link URL.
Applies to
HasFeedSelfLink(Func<ResourceSetContext,Uri>)
Adds a self link to the feed.
public virtual void HasFeedSelfLink (Func<Microsoft.AspNet.OData.ResourceSetContext,Uri> feedSelfLinkFactory);
abstract member HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, Uri> -> unit
override this.HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, Uri> -> unit
Public Overridable Sub HasFeedSelfLink (feedSelfLinkFactory As Func(Of ResourceSetContext, Uri))
Parameters
- feedSelfLinkFactory
- Func<ResourceSetContext,Uri>
The builder used to generate the link URL.