EntitySetConfiguration.HasReadLink Method
Configures the read link for the entities from this entity set.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overridable Function HasReadLink ( _
readLinkBuilder As SelfLinkBuilder(Of Uri) _
) As EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration
Dim readLinkBuilder As SelfLinkBuilder(Of Uri)
Dim returnValue As EntitySetConfiguration
returnValue = instance.HasReadLink(readLinkBuilder)
public virtual EntitySetConfiguration HasReadLink(
SelfLinkBuilder<Uri> readLinkBuilder
)
public:
virtual EntitySetConfiguration^ HasReadLink(
SelfLinkBuilder<Uri^>^ readLinkBuilder
)
abstract HasReadLink :
readLinkBuilder:SelfLinkBuilder<Uri> -> EntitySetConfiguration
override HasReadLink :
readLinkBuilder:SelfLinkBuilder<Uri> -> EntitySetConfiguration
public function HasReadLink(
readLinkBuilder : SelfLinkBuilder<Uri>
) : EntitySetConfiguration
Parameters
- readLinkBuilder
Type: System.Web.Http.OData.Builder.SelfLinkBuilder<Uri>
The builder used to generate the read link.
Return Value
Type: System.Web.Http.OData.Builder.EntitySetConfiguration
Returns itself so that multiple calls can be chained.