ODataEntityTypeSerializer Class
Represents an ODataSerializer for serializing instances of IEdmEntityType
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Formatter.Serialization.ODataSerializer
System.Web.Http.OData.Formatter.Serialization.ODataEdmTypeSerializer
System.Web.Http.OData.Formatter.Serialization.ODataEntityTypeSerializer
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class ODataEntityTypeSerializer _
Inherits ODataEdmTypeSerializer
'Usage
Dim instance As ODataEntityTypeSerializer
public class ODataEntityTypeSerializer : ODataEdmTypeSerializer
public ref class ODataEntityTypeSerializer : public ODataEdmTypeSerializer
type ODataEntityTypeSerializer =
class
inherit ODataEdmTypeSerializer
end
public class ODataEntityTypeSerializer extends ODataEdmTypeSerializer
The ODataEntityTypeSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataEntityTypeSerializer | Initializes a new instance of the ODataEntityTypeSerializer class. |
Top
Properties
Name | Description | |
---|---|---|
ODataPayloadKind | Gets the ODataPayloadKind that this serializer generates. (Inherited from ODataSerializer.) | |
SerializerProvider | Gets the ODataSerializerProvider that can be used to write inner objects. (Inherited from ODataEdmTypeSerializer.) |
Top
Methods
Name | Description | |
---|---|---|
CreateEntry | Creates the ODataEntry to be written while writing this entity. | |
CreateNavigationLink | Creates the ODataNavigationLink to be written while writing this entity. | |
CreateODataAction | Creates an ODataAction to be written for the given action and the entity instance. | |
CreateODataValue | Creates an ODataValue for the object represented by graph. (Inherited from ODataEdmTypeSerializer.) | |
CreateSelectExpandNode | Creates the SelectExpandNode that describes the set of properties and actions to select and expand while writing this entity. | |
CreateStructuralProperty | Creates the ODataProperty to be written for the given entity and the structural property. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteObject | Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext. (Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).) | |
WriteObjectInline | Writes the given object specified by the parameter graph as a part of an existing OData message using the given messageWriter and the writeContext. (Overrides ODataEdmTypeSerializer.WriteObjectInline(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext).) |
Top
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.