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