Share via


EntityInstanceContext.EntityType Property

Gets or sets the IEdmEntityType of this entity instance.

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

Syntax

'Declaration
Public Property EntityType As IEdmEntityType 
    Get 
    Set
'Usage
Dim instance As EntityInstanceContext 
Dim value As IEdmEntityType 

value = instance.EntityType

instance.EntityType = value
public IEdmEntityType EntityType { get; set; }
public:
property IEdmEntityType^ EntityType {
    IEdmEntityType^ get ();
    void set (IEdmEntityType^ value);
}
member EntityType : IEdmEntityType with get, set
function get EntityType () : IEdmEntityType 
function set EntityType (value : IEdmEntityType)

Property Value

Type: IEdmEntityType
The IEdmEntityType of this entity instance.

See Also

Reference

EntityInstanceContext Class

System.Web.Http.OData Namespace