SerializationExtensionMethods Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class SerializationExtensionMethods
'Usage
public static class SerializationExtensionMethods
[ExtensionAttribute]
public ref class SerializationExtensionMethods abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type SerializationExtensionMethods =  class end
public final class SerializationExtensionMethods

The SerializationExtensionMethods type exposes the following members.

Methods

  Name Description
Public methodStatic member GetAssociationAnnotations Gets the annotations associated with the association serialized for a navigation property.
Public methodStatic member GetAssociationEndName Gets the name used for the association end serialized for a navigation property.
Public methodStatic member GetAssociationFullName Gets the fully-qualified name used for the association serialized for a navigation property.
Public methodStatic member GetAssociationName Gets the name used for the association serialized for a navigation property.
Public methodStatic member GetAssociationNamespace Gets the namespace used for the association serialized for a navigation property.
Public methodStatic member GetAssociationSetAnnotations Gets the annotations associated with the association serialized for a navigation target of an entity set.
Public methodStatic member GetAssociationSetName Gets the name used for the association set serialized for a navigation property of an entity set.
Public methodStatic member GetDataServiceVersion Gets the version used for the data service of a navigation property of an entity set.
Public methodStatic member GetEdmxVersion Gets the version used for the edmx of a navigation property of an entity set.
Public methodStatic member GetMaxDataServiceVersion Gets the version of the maximum data service for a navigation property of an entity set.
Public methodStatic member GetNamespaceAlias Gets the serialization alias for a given namespace.
Public methodStatic member GetNamespacePrefixMappings Gets the prefix mappings of the namespace for a navigation property.
Public methodStatic member GetPrimary 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 member GetSchemaNamespace Gets the schema an annotation should be serialized in.
Public methodStatic member GetSerializationLocation Gets the location an annotation should be serialized in.
Public methodStatic member IsSerializedAsElement Gets an annotation indicating if the value should be serialized as an element.
Public methodStatic member IsValueExplicit Gets an annotation indicating whether the value of an enum member should be explicitly serialized.
Public methodStatic member SetAssociationAnnotations Sets the annotations for the association serialized for a navigation property.
Public methodStatic member SetAssociationEndName Sets the name used for the association end serialized for a navigation property.
Public methodStatic member SetAssociationName Sets the name used for the association serialized for a navigation property.
Public methodStatic member SetAssociationNamespace Sets the namespace used for the association serialized for a navigation property.
Public methodStatic member SetAssociationSetAnnotations Sets the annotations for the association set serialized for a navigation target of an entity set.
Public methodStatic member SetAssociationSetName Sets the name used for the association set serialized for a navigation property of an entity set.
Public methodStatic member SetDataServiceVersion Sets the version used for the data service of a navigation property of an entity set.
Public methodStatic member SetEdmxVersion Sets the version used for the edmx of a navigation property of an entity set.
Public methodStatic member SetIsSerializedAsElement Sets an annotation indicating if the value should be serialized as an element.
Public methodStatic member SetIsValueExplicit Sets an annotation indicating whether the value of an enum member should be explicitly serialized.
Public methodStatic member SetMaxDataServiceVersion Sets the version of the maximum data service for a navigation property of an entity set.
Public methodStatic member SetNamespaceAlias Sets the serialization alias for a given namespace
Public methodStatic member SetNamespacePrefixMappings Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces.
Public methodStatic member SetSchemaNamespace Sets the schema an annotation should appear in.
Public methodStatic member SetSerializationLocation Sets the location an annotation should be serialized in.

Top

Remarks

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

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

Reference

Microsoft.Data.Edm.Csdl Namespace