Export (0) Print
Expand All

SerializationExtensionMethods Class

WCF Data Services 5.0

Contains extension methods for IEdmModel interfaces that are useful to serialization.

System.Object
  Microsoft.Data.Edm.Csdl.SerializationExtensionMethods

Namespace:  Microsoft.Data.Edm.Csdl
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

public static class SerializationExtensionMethods

The SerializationExtensionMethods type exposes the following members.

  NameDescription
Public methodStatic memberGetAssociationAnnotations Gets the annotations associated with the association serialized for a navigation property.
Public methodStatic memberGetAssociationEndName Gets the name used for the association end serialized for a navigation property.
Public methodStatic memberGetAssociationFullName Gets the fully-qualified name used for the association serialized for a navigation property.
Public methodStatic memberGetAssociationName Gets the name used for the association serialized for a navigation property.
Public methodStatic memberGetAssociationNamespace Gets the namespace used for the association serialized for a navigation property.
Public methodStatic memberGetAssociationSetAnnotations Gets the annotations associated with the association serialized for a navigation target of an entity set.
Public methodStatic memberGetAssociationSetName Gets the name used for the association set serialized for a navigation property of an entity set.
Public methodStatic memberGetDataServiceVersionGets the version used for the data service of a navigation property of an entity set.
Public methodStatic memberGetEdmxVersionGets the version used for the edmx of a navigation property of an entity set.
Public methodStatic memberGetMaxDataServiceVersionGets the version of the maximum data service for a navigation property of an entity set.
Public methodStatic memberGetNamespaceAlias Gets the serialization alias for a given namespace.
Public methodStatic memberGetNamespacePrefixMappingsGets the prefix mappings of the namespace for a navigation property.
Public methodStatic memberGetPrimary Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise.
Public methodStatic memberGetSchemaNamespace Gets the schema an annotation should be serialized in.
Public methodStatic memberGetSerializationLocation Gets the location an annotation should be serialized in.
Public methodStatic memberIsSerializedAsElement Gets an annotation indicating if the value should be serialized as an element.
Public methodStatic memberIsValueExplicit Gets an annotation indicating whether the value of an enum member should be explicitly serialized.
Public methodStatic memberSetAssociationAnnotations Sets the annotations for the association serialized for a navigation property.
Public methodStatic memberSetAssociationEndName Sets the name used for the association end serialized for a navigation property.
Public methodStatic memberSetAssociationName Sets the name used for the association serialized for a navigation property.
Public methodStatic memberSetAssociationNamespace Sets the namespace used for the association serialized for a navigation property.
Public methodStatic memberSetAssociationSetAnnotations Sets the annotations for the association set serialized for a navigation target of an entity set.
Public methodStatic memberSetAssociationSetName Sets the name used for the association set serialized for a navigation property of an entity set.
Public methodStatic memberSetDataServiceVersionSets the version used for the data service of a navigation property of an entity set.
Public methodStatic memberSetEdmxVersionSets the version used for the edmx of a navigation property of an entity set.
Public methodStatic memberSetIsSerializedAsElement Sets an annotation indicating if the value should be serialized as an element.
Public methodStatic memberSetIsValueExplicit Sets an annotation indicating whether the value of an enum member should be explicitly serialized.
Public methodStatic memberSetMaxDataServiceVersionSets the version of the maximum data service for a navigation property of an entity set.
Public methodStatic memberSetNamespaceAlias Sets the serialization alias for a given namespace
Public methodStatic memberSetNamespacePrefixMappings Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces.
Public methodStatic memberSetSchemaNamespace Sets the schema an annotation should appear in.
Public methodStatic memberSetSerializationLocation Sets the location an annotation should be serialized in.
Top

No content here will be updated; please do not add material here.

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