ODataEntityDeserializer.ApplyStructuralProperty Method (Object, ODataProperty, IEdmEntityTypeReference, ODataDeserializerContext)
Deserializes the given structuralProperty into entityResource.
Namespace: System.Web.OData.Formatter.Deserialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual void ApplyStructuralProperty(
object entityResource,
ODataProperty structuralProperty,
IEdmEntityTypeReference entityType,
ODataDeserializerContext readContext
)
public:
virtual void ApplyStructuralProperty(
Object^ entityResource,
ODataProperty^ structuralProperty,
IEdmEntityTypeReference^ entityType,
ODataDeserializerContext^ readContext
)
abstract ApplyStructuralProperty :
entityResource:Object *
structuralProperty:ODataProperty *
entityType:IEdmEntityTypeReference *
readContext:ODataDeserializerContext -> unit
override ApplyStructuralProperty :
entityResource:Object *
structuralProperty:ODataProperty *
entityType:IEdmEntityTypeReference *
readContext:ODataDeserializerContext -> unit
Public Overridable Sub ApplyStructuralProperty (
entityResource As Object,
structuralProperty As ODataProperty,
entityType As IEdmEntityTypeReference,
readContext As ODataDeserializerContext
)
Parameters
entityResource
Type: System.ObjectThe object into which the structural property should be read.
structuralProperty
Type: Microsoft.OData.Core.ODataPropertyThe entry object containing the structural properties.
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeReferenceThe entity type of the entity resource.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContextThe deserializer context.
See Also
ODataEntityDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top