EntityInstanceContext Constructor
Namespace: System.Web.OData
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
EntityInstanceContext() | Initializes a new instance of the EntityInstanceContext class. |
|
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
serializerContext
Type: System.Web.OData.Formatter.Serialization.ODataSerializerContextThe backing ODataSerializerContext.
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeReferenceThe EDM entity type of this instance context.
entityInstance
Type: System.ObjectThe object representing the instance of this context.
Return to top