Share via


SelfLinkBuilder<T> Class

 

Encapsulates a self link factory and whether the link factory follows conventions or not.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.SelfLinkBuilder<T>

Syntax

public class SelfLinkBuilder<T>
generic<typename T>
public ref class SelfLinkBuilder 
type SelfLinkBuilder<'T> = class end
Public Class SelfLinkBuilder(Of T)

Type Parameters

  • T
    The type of the self link generated. This should be String for ID links and Uri for read and edit links.

Constructors

Name Description
System_CAPS_pubmethod SelfLinkBuilder<T>(Func<EntityInstanceContext, T>, Boolean)

Constructs a new instance of SelfLinkBuilder<T>.

Properties

Name Description
System_CAPS_pubproperty Factory

Gets the factory for generating links.

System_CAPS_pubproperty FollowsConventions

Gets a boolean indicating whether the link factory follows OData conventions or not.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Builder Namespace

Return to top