Share via


EntityInstanceContext<TEntityType>.EntityInstance Property

 

Note: This API is now obsolete.

Gets or sets the entity instance.

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

Syntax

[ObsoleteAttribute("Entity instance might not be available when the incoming uri has a $select. Use the EdmObject property instead.")]
public TEntityType EntityInstance { get; set; }
public:
[ObsoleteAttribute("Entity instance might not be available when the incoming uri has a $select. Use the EdmObject property instead.")]
property TEntityType EntityInstance {
    TEntityType get();
    void set(TEntityType value);
}
[<ObsoleteAttribute("Entity instance might not be available when the incoming uri has a $select. Use the EdmObject property instead.")>]
member EntityInstance : 'TEntityType with get, set
<ObsoleteAttribute("Entity instance might not be available when the incoming uri has a $select. Use the EdmObject property instead.")>
Public Property EntityInstance As TEntityType

Property Value

Type: TEntityType

See Also

EntityInstanceContext<TEntityType> Class
System.Web.Http.OData Namespace

Return to top