Share via


ODataResourceSerializer.AppendDynamicProperties Method

Definition

Appends the dynamic properties of primitive, enum or the collection of them into the given ODataResource. If the dynamic property is a property of the complex or collection of complex, it will be saved into the dynamic complex properties dictionary of resourceContext and be written later.

public virtual void AppendDynamicProperties (Microsoft.OData.ODataResource resource, Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode selectExpandNode, Microsoft.AspNet.OData.ResourceContext resourceContext);
abstract member AppendDynamicProperties : Microsoft.OData.ODataResource * Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode * Microsoft.AspNet.OData.ResourceContext -> unit
override this.AppendDynamicProperties : Microsoft.OData.ODataResource * Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode * Microsoft.AspNet.OData.ResourceContext -> unit
Public Overridable Sub AppendDynamicProperties (resource As ODataResource, selectExpandNode As SelectExpandNode, resourceContext As ResourceContext)

Parameters

resource
ODataResource

The ODataResource describing the resource.

selectExpandNode
SelectExpandNode

The SelectExpandNode describing the response graph.

resourceContext
ResourceContext

The context for the resource instance being written.

Applies to