EntityInstanceContext Class
An instance of EntityInstanceContext<TEntityType> gets passed to the self link ( M:NavigationSourceConfiguration.HasIdLink, M:NavigationSourceConfiguration.HasEditLink, M:NavigationSourceConfiguration.HasReadLink ) and navigation link ( M:NavigationSourceConfiguration.HasNavigationPropertyLink, M:NavigationSourceConfiguration.HasNavigationPropertiesLink ) builders and can be used by the link builders to generate links.
Assembly: System.Web.OData (in System.Web.OData.dll)
System.Web.OData::EntityInstanceContext
System.Web.OData::EntityInstanceContext<TEntityType>
| Name | Description | |
|---|---|---|
![]() | EntityInstanceContext() | Initializes a new instance of the EntityInstanceContext class. |
![]() | EntityInstanceContext(ODataSerializerContext^, IEdmEntityTypeReference^, Object^) | Initializes a new instance of the EntityInstanceContext class. |
| Name | Description | |
|---|---|---|
![]() | EdmModel | Gets or sets the IEdmModel to which this instance belogs. |
![]() | EdmObject | Gets or sets the IEdmEntityObject backing this instance. |
![]() | EntityInstance | Gets or sets the value of this entity instance. |
![]() | EntityType | Gets or sets the IEdmEntityType of this entity instance. |
![]() | NavigationSource | Gets or sets the IEdmNavigationSource to which this instance belongs. |
![]() | Request | Gets or sets the HTTP request that caused this instance to be generated. |
![]() | SerializerContext | Gets or sets the ODataSerializerContext. |
![]() | SkipExpensiveAvailabilityChecks | Gets or sets a value indicating whether ActionAvailabilityChecks should be performed or not. |
![]() | Url | Gets or sets a UrlHelper that may be used to generate links while serializing this entity instance. |
| 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.) |
| Name | Description | |
|---|---|---|
![]() | GenerateActionLink(IEdmOperation^) | Generates an action link following the OData URL conventions for the action action and bound to the entity represented by entityContext. (Defined by LinkGenerationHelpers.) |
![]() | GenerateFunctionLink(IEdmOperation^) | Generates an function link following the OData URL conventions for the function function and bound to the entity represented by entityContext. (Defined by LinkGenerationHelpers.) |
![]() | GenerateNavigationPropertyLink(IEdmNavigationProperty^, Boolean) | Generates a navigation link following the OData URL conventions for the entity represented by entityContext and the given navigation property. (Defined by LinkGenerationHelpers.) |
![]() | GenerateSelfLink(Boolean) | Generates a self link following the OData URL conventions for the entity represented by entityContext. (Defined by LinkGenerationHelpers.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


