IMetadataAnnotationSerializer Interface

 

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 method.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public interface IMetadataAnnotationSerializer

NameDescription
System_CAPS_pubmethodDeserialize(String, String)

Deserializes the given string back into the expected annotation value.

System_CAPS_pubmethodSerialize(String, Object)

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