Share via


ODataSerializerContext Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod ODataSerializerContext()

Initializes a new instance of the ODataSerializerContext class.

System_CAPS_pubmethod ODataSerializerContext(EntityInstanceContext, SelectExpandClause, IEdmNavigationProperty)

Initializes a new instance of the ODataSerializerContext class.

See Also

ODataSerializerContext Class
System.Web.Http.OData.Formatter.Serialization Namespace

Return to top

ODataSerializerContext Constructor ()

Initializes a new instance of the ODataSerializerContext class.

Syntax

public ODataSerializerContext()
public:
ODataSerializerContext()
new : unit -> ODataSerializerContext
Public Sub New

Return to top

ODataSerializerContext Constructor (EntityInstanceContext, SelectExpandClause, IEdmNavigationProperty)

Initializes a new instance of the ODataSerializerContext class.

Syntax

public ODataSerializerContext(
    EntityInstanceContext entity,
    SelectExpandClause selectExpandClause,
    IEdmNavigationProperty navigationProperty
)
public:
ODataSerializerContext(
    EntityInstanceContext^ entity,
    SelectExpandClause^ selectExpandClause,
    IEdmNavigationProperty^ navigationProperty
)
new : 
        entity:EntityInstanceContext *
        selectExpandClause:SelectExpandClause *
        navigationProperty:IEdmNavigationProperty -> ODataSerializerContext
Public Sub New (
    entity As EntityInstanceContext,
    selectExpandClause As SelectExpandClause,
    navigationProperty As IEdmNavigationProperty
)

Parameters

Remarks

This constructor is used to construct the serializer context for writing expanded properties.

Return to top