Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures the ID 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
public void HasIdLink(
Func<EntityInstanceContext<TEntityType>, string> idLinkFactory,
bool followsConventions
)
public:
void HasIdLink(
Func<EntityInstanceContext<TEntityType>^, String^>^ idLinkFactory,
bool followsConventions
)
member HasIdLink :
idLinkFactory:Func<EntityInstanceContext<'TEntityType>, string> *
followsConventions:bool -> unit
Public Sub HasIdLink (
idLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), String),
followsConventions As Boolean
)
Parameters
idLinkFactory
Type: System.Func<EntityInstanceContext<TEntityType>, String>The factory used to generate the ID link.
followsConventions
Type: System.Booleantrue if the factory follows OData ID link conventions; otherwise, false.
See Also
EntitySetConfiguration<TEntityType> Class
System.Web.Http.OData.Builder Namespace
Return to top