ODataEntityTypeSerializer.CreateEntry Method (SelectExpandNode, EntityInstanceContext)
Creates the ODataEntry to be written while writing this entity.
Namespace: System.Web.OData.Formatter.Serialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual ODataEntry CreateEntry(
SelectExpandNode selectExpandNode,
EntityInstanceContext entityInstanceContext
)
public:
virtual ODataEntry^ CreateEntry(
SelectExpandNode^ selectExpandNode,
EntityInstanceContext^ entityInstanceContext
)
abstract CreateEntry :
selectExpandNode:SelectExpandNode *
entityInstanceContext:EntityInstanceContext -> ODataEntry
override CreateEntry :
selectExpandNode:SelectExpandNode *
entityInstanceContext:EntityInstanceContext -> ODataEntry
Public Overridable Function CreateEntry (
selectExpandNode As SelectExpandNode,
entityInstanceContext As EntityInstanceContext
) As ODataEntry
Parameters
selectExpandNode
Type: System.Web.OData.Formatter.Serialization.SelectExpandNodeThe SelectExpandNode describing the response graph.
entityInstanceContext
Type: System.Web.OData.EntityInstanceContextThe context for the entity instance being written.
Return Value
Type: Microsoft.OData.Core.ODataEntry
The created ODataEntry.
See Also
ODataEntityTypeSerializer Class
System.Web.OData.Formatter.Serialization Namespace
Return to top