Share via


EntitySetConfiguration.HasIdLink Method

Configures the ID 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 HasIdLink ( _
    idLinkBuilder As SelfLinkBuilder(Of String) _
) As EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration 
Dim idLinkBuilder As SelfLinkBuilder(Of String)
Dim returnValue As EntitySetConfiguration 

returnValue = instance.HasIdLink(idLinkBuilder)
public virtual EntitySetConfiguration HasIdLink(
    SelfLinkBuilder<string> idLinkBuilder
)
public:
virtual EntitySetConfiguration^ HasIdLink(
    SelfLinkBuilder<String^>^ idLinkBuilder
)
abstract HasIdLink : 
        idLinkBuilder:SelfLinkBuilder<string> -> EntitySetConfiguration  
override HasIdLink : 
        idLinkBuilder:SelfLinkBuilder<string> -> EntitySetConfiguration
public function HasIdLink(
    idLinkBuilder : SelfLinkBuilder<String>
) : EntitySetConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.EntitySetConfiguration
Returns itself so that multiple calls can be chained.

See Also

Reference

EntitySetConfiguration Class

System.Web.Http.OData.Builder Namespace