Share via


IMetadataAnnotationSerializer Interface

Definition

Implement this interface to allow custom annotations represented by MetadataProperty instances to be serialized to and from the EDMX XML. Usually a serializer instance is set using the SetMetadataAnnotationSerializer(String, Func<IMetadataAnnotationSerializer>) method.

public interface IMetadataAnnotationSerializer
type IMetadataAnnotationSerializer = interface
Public Interface IMetadataAnnotationSerializer
Derived

Methods

Deserialize(String, String)

Deserializes the given string back into the expected annotation value.

Serialize(String, Object)

Serializes the given annotation value into a string for storage in the EDMX XML.

Applies to