IMetadataAnnotationSerializer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework