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.
Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | HasEditLink(Func<EntityInstanceContext<TEntityType>, String>, Boolean) | Configures the edit link for the entities from this entity set. | 
| .jpeg) | HasEditLink(Func<EntityInstanceContext<TEntityType>, Uri>, Boolean) | Configures the edit link for the entities from this entity set. | 
See Also
EntitySetConfiguration<TEntityType> Class
System.Web.Http.OData.Builder Namespace
Return to top
EntitySetConfiguration<TEntityType>.HasEditLink Method (Func<EntityInstanceContext<TEntityType>, String>, Boolean)
Configures the edit link for the entities from this entity set.
Syntax
public void HasEditLink(
    Func<EntityInstanceContext<TEntityType>, string> editLinkFactory,
    bool followsConventions
)
public:
void HasEditLink(
    Func<EntityInstanceContext<TEntityType>^, String^>^ editLinkFactory,
    bool followsConventions
)
member HasEditLink : 
        editLinkFactory:Func<EntityInstanceContext<'TEntityType>, string> *
        followsConventions:bool -> unit
Public Sub HasEditLink (
    editLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), String),
    followsConventions As Boolean
)
Parameters
- editLinkFactory 
 Type: System.Func<EntityInstanceContext<TEntityType>, String>- The factory used to generate the edit link. 
- followsConventions 
 Type: System.Boolean- true if the factory follows OData edit link conventions; otherwise, false. 
Return to top
EntitySetConfiguration<TEntityType>.HasEditLink Method (Func<EntityInstanceContext<TEntityType>, Uri>, Boolean)
Configures the edit link for the entities from this entity set.
Syntax
public void HasEditLink(
    Func<EntityInstanceContext<TEntityType>, Uri> editLinkFactory,
    bool followsConventions
)
public:
void HasEditLink(
    Func<EntityInstanceContext<TEntityType>^, Uri^>^ editLinkFactory,
    bool followsConventions
)
member HasEditLink : 
        editLinkFactory:Func<EntityInstanceContext<'TEntityType>, Uri> *
        followsConventions:bool -> unit
Public Sub HasEditLink (
    editLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), Uri),
    followsConventions As Boolean
)
Parameters
- editLinkFactory 
 Type: System.Func<EntityInstanceContext<TEntityType>, Uri>- The factory used to generate the edit link. 
- followsConventions 
 Type: System.Boolean- true if the factory follows OData edit link conventions; otherwise, false. 
Return to top