IMetadataAnnotationSerializer.Serialize(String, Object) Method

Definition

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

public string Serialize (string name, object value);
abstract member Serialize : string * obj -> string
Public Function Serialize (name As String, value As Object) As String

Parameters

name
String

The name of the annotation that is being serialized.

value
Object

The value to serialize.

Returns

The serialized value.

Applies to