Share via


EntityInstanceContext Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod EntityInstanceContext()

Initializes a new instance of the EntityInstanceContext class.

System_CAPS_pubmethod EntityInstanceContext(ODataSerializerContext, IEdmEntityTypeReference, Object)

Initializes a new instance of the EntityInstanceContext class.

See Also

EntityInstanceContext Class
System.Web.OData Namespace

Return to top

EntityInstanceContext Constructor ()

Initializes a new instance of the EntityInstanceContext class.

Syntax

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

Return to top

EntityInstanceContext Constructor (ODataSerializerContext, IEdmEntityTypeReference, Object)

Initializes a new instance of the EntityInstanceContext class.

Syntax

public EntityInstanceContext(
    ODataSerializerContext serializerContext,
    IEdmEntityTypeReference entityType,
    object entityInstance
)
public:
EntityInstanceContext(
    ODataSerializerContext^ serializerContext,
    IEdmEntityTypeReference^ entityType,
    Object^ entityInstance
)
new : 
        serializerContext:ODataSerializerContext *
        entityType:IEdmEntityTypeReference *
        entityInstance:Object -> EntityInstanceContext
Public Sub New (
    serializerContext As ODataSerializerContext,
    entityType As IEdmEntityTypeReference,
    entityInstance As Object
)

Parameters

  • entityInstance
    Type: System.Object

    The object representing the instance of this context.

Return to top