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 | |
---|---|---|
SelfLinkBuilder<T>(Func<EntityInstanceContext, T>, Boolean) | Constructs a new instance of SelfLinkBuilder<T>. |
Properties
Name | Description | |
---|---|---|
Factory | Gets the factory for generating links. |
|
FollowsConventions | Gets a boolean indicating whether the link factory follows OData conventions or not. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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