EntityInstanceContext<TEntityType> Class

 

An instance of EntityInstanceContext<TEntityType> gets passed to the self link ( M:EntitySetConfiguration.HasIdLink, M:EntitySetConfiguration.HasEditLink, M:EntitySetConfiguration.HasReadLink ) and navigation link ( M:EntitySetConfiguration.HasNavigationPropertyLink, M:EntitySetConfiguration.HasNavigationPropertiesLink ) builders and can be used by the link builders to generate links.

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

System::Object
  System.Web.OData::EntityInstanceContext
    System.Web.OData::EntityInstanceContext<TEntityType>

generic<typename TEntityType>
public ref class EntityInstanceContext : EntityInstanceContext

Type Parameters

TEntityType

The entity type

NameDescription
System_CAPS_pubmethodEntityInstanceContext<TEntityType>()

Initializes a new instance of the EntityInstanceContext<TEntityType> class.

NameDescription
System_CAPS_pubpropertyEdmModel

Gets or sets the IEdmModel to which this instance belogs.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertyEdmObject

Gets or sets the IEdmEntityObject backing this instance.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertyEntityInstance

Obsolete.Gets or sets the entity instance.

System_CAPS_pubpropertyEntityType

Gets or sets the IEdmEntityType of this entity instance.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertyNavigationSource

Gets or sets the IEdmNavigationSource to which this instance belongs.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertyRequest

Gets or sets the HTTP request that caused this instance to be generated.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertySerializerContext

Gets or sets the ODataSerializerContext.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertySkipExpensiveAvailabilityChecks

Gets or sets a value indicating whether ActionAvailabilityChecks should be performed or not.(Inherited from EntityInstanceContext.)

System_CAPS_pubpropertyUrl

Gets or sets a UrlHelper that may be used to generate links while serializing this entity instance.(Inherited from EntityInstanceContext.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodGenerateActionLink(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.)

System_CAPS_pubmethodGenerateFunctionLink(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.)

System_CAPS_pubmethodGenerateNavigationPropertyLink(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.)

System_CAPS_pubmethodGenerateSelfLink(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.

Return to top
Show: