ODataSerializerContext.Model Property
Gets or sets the EDM model associated with the request.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Property Model As IEdmModel
Get
Set
'Usage
Dim instance As ODataSerializerContext
Dim value As IEdmModel
value = instance.Model
instance.Model = value
public IEdmModel Model { get; set; }
public:
property IEdmModel^ Model {
IEdmModel^ get ();
void set (IEdmModel^ value);
}
member Model : IEdmModel with get, set
function get Model () : IEdmModel
function set Model (value : IEdmModel)
Property Value
Type: IEdmModel
The EDM model associated with the request.