SelfLinkBuilder<T> Constructor (Func<EntityInstanceContext, T>, Boolean)
Constructs a new instance of SelfLinkBuilder<T>.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public SelfLinkBuilder(
Func<EntityInstanceContext, T> linkFactory,
bool followsConventions
)
public:
SelfLinkBuilder(
Func<EntityInstanceContext^, T>^ linkFactory,
bool followsConventions
)
new :
linkFactory:Func<EntityInstanceContext, 'T> *
followsConventions:bool -> SelfLinkBuilder
Public Sub New (
linkFactory As Func(Of EntityInstanceContext, T),
followsConventions As Boolean
)
Parameters
linkFactory
Type: System.Func<EntityInstanceContext, T>The link factory.
followsConventions
Type: System.BooleanWhether the factory follows odata conventions for link generation.
See Also
SelfLinkBuilder<T> Class
System.Web.Http.OData.Builder Namespace
Return to top