Share via


EntityInstanceContext.EdmModel Property

Gets or sets the IEdmModel to which this instance belongs.

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

Syntax

'Declaration
Public Property EdmModel As IEdmModel 
    Get 
    Set
'Usage
Dim instance As EntityInstanceContext 
Dim value As IEdmModel 

value = instance.EdmModel

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

Property Value

Type: IEdmModel
The IEdmModel to which this instance belongs.

See Also

Reference

EntityInstanceContext Class

System.Web.Http.OData Namespace