Share via


FunctionLinkBuilder Constructor (Func<EntityInstanceContext, Uri>, Boolean)

 

Create a new FunctionLinkBuilder based on an functionLinkFactory.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public FunctionLinkBuilder(
    Func<EntityInstanceContext, Uri> functionLinkFactory,
    bool followsConventions
)
public:
FunctionLinkBuilder(
    Func<EntityInstanceContext^, Uri^>^ functionLinkFactory,
    bool followsConventions
)
new : 
        functionLinkFactory:Func<EntityInstanceContext, Uri> *
        followsConventions:bool -> FunctionLinkBuilder
Public Sub New (
    functionLinkFactory As Func(Of EntityInstanceContext, Uri),
    followsConventions As Boolean
)

Parameters

  • followsConventions
    Type: System.Boolean

    A value indicating whether the function link factory generates links that follow OData conventions.

Remarks

If the function is not available the functionLinkFactory delegate should return NULL.

See Also

FunctionLinkBuilder Class
System.Web.OData.Builder Namespace

Return to top