ODataEntityTypeSerializer Class

 

ODataSerializer for serializing instances of IEdmEntityType

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Formatter.Serialization.ODataSerializer
    System.Web.OData.Formatter.Serialization.ODataEdmTypeSerializer
      System.Web.OData.Formatter.Serialization.ODataEntityTypeSerializer

Syntax

public class ODataEntityTypeSerializer : ODataEdmTypeSerializer
public ref class ODataEntityTypeSerializer : ODataEdmTypeSerializer
type ODataEntityTypeSerializer = 
    class
        inherit ODataEdmTypeSerializer
    end
Public Class ODataEntityTypeSerializer
    Inherits ODataEdmTypeSerializer

Constructors

Name Description
System_CAPS_pubmethod ODataEntityTypeSerializer(ODataSerializerProvider)

Properties

Name Description
System_CAPS_pubproperty ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates. (Inherited from ODataSerializer.)

System_CAPS_pubproperty SerializerProvider

Gets the ODataSerializerProvider that can be used to write inner objects. (Inherited from ODataEdmTypeSerializer.)

Methods

Name Description
System_CAPS_pubmethod CreateEntry(SelectExpandNode, EntityInstanceContext)

Creates the ODataEntry to be written while writing this entity.

System_CAPS_pubmethod CreateETag(EntityInstanceContext)

Creates the ETag for the given entity.

System_CAPS_pubmethod CreateNavigationLink(IEdmNavigationProperty, EntityInstanceContext)

Creates the ODataNavigationLink to be written while writing this entity.

System_CAPS_pubmethod CreateODataAction(IEdmAction, EntityInstanceContext)

Creates an ODataAction to be written for the given action and the entity instance.

System_CAPS_pubmethod CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

Creates an ODataValue for the object represented by graph. (Inherited from ODataEdmTypeSerializer.)

System_CAPS_pubmethod CreateSelectExpandNode(EntityInstanceContext)

Creates the SelectExpandNode that describes the set of properties and actions to select and expand while writing this entity.

System_CAPS_pubmethod CreateStructuralProperty(IEdmStructuralProperty, EntityInstanceContext)

Creates the ODataProperty to be written for the given entity and the structural property.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WriteDeltaObjectInline(Object, IEdmTypeReference, ODataDeltaWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a part of an existing OData message using the given deltaWriter and the writeContext.

System_CAPS_pubmethod WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext)

(Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).)

System_CAPS_pubmethod WriteObjectInline(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext)

(Overrides ODataEdmTypeSerializer.WriteObjectInline(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext).)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Formatter.Serialization Namespace

Return to top