Compartilhar via


EntitySetConfiguration.HasFeedSelfLink Método

Definição

Adiciona um self link ao feed.

public virtual Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration HasFeedSelfLink (Func<Microsoft.AspNet.OData.ResourceSetContext,Uri> feedSelfLinkFactory);
abstract member HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, Uri> -> Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
override this.HasFeedSelfLink : Func<Microsoft.AspNet.OData.ResourceSetContext, Uri> -> Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
Public Overridable Function HasFeedSelfLink (feedSelfLinkFactory As Func(Of ResourceSetContext, Uri)) As NavigationSourceConfiguration

Parâmetros

feedSelfLinkFactory
Func<ResourceSetContext,Uri>

O construtor usado para gerar a URL do link.

Retornos

A configuração da fonte de navegação que está sendo definida atualmente.

Aplica-se a