Share via


ODataSerializerContext Constructor

 

Namespace:   System.Web.OData.Formatter.Serialization
Assembly:  System.Web.OData (in System.Web.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.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