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.
This method should be overridden to handle POST and PUT requests that attempt to create a link between two entities.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[AcceptVerbsAttribute(new string[] { ... })]
public virtual void CreateLink(
TKey key,
string navigationProperty,
Uri link
)
public:
[AcceptVerbsAttribute(new array<String^>^ { ... })]
virtual void CreateLink(
TKey key,
String^ navigationProperty,
Uri^ link
)
[<AcceptVerbsAttribute([| ... |])>]
abstract CreateLink :
key:'TKey *
navigationProperty:string *
link:Uri -> unit
[<AcceptVerbsAttribute([| ... |])>]
override CreateLink :
key:'TKey *
navigationProperty:string *
link:Uri -> unit
<AcceptVerbsAttribute(New String() { ... })>
Public Overridable Sub CreateLink (
key As TKey,
navigationProperty As String,
link As Uri
)
Parameters
key
Type: TKeyThe key of the entity with the navigation property.
navigationProperty
Type: System.StringThe name of the navigation property.
link
Type: System.UriThe URI of the entity to link.
See Also
EntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top