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.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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. |