Share via


ODataResourceSerializationInfo Class

Definition

Class to provide additional serialization information to the ODataWriter for an ODataResource.

public sealed class ODataResourceSerializationInfo
type ODataResourceSerializationInfo = class
Public NotInheritable Class ODataResourceSerializationInfo
Inheritance
ODataResourceSerializationInfo

Constructors

ODataResourceSerializationInfo()

Properties

ExpectedTypeName

The namespace qualified type name of the expected resource type.

IsFromCollection

The flag we use to identify if the current resource is from a navigation property with collection type or not.

NavigationSourceEntityTypeName

The namespace qualified element type name of the navigation source.

NavigationSourceKind

The kind of the navigation source.

NavigationSourceName

The navigation source name of the resource to be written. Should be fully qualified if the navigation source is not in the default container.

Applies to