IMetadataAnnotationSerializer.Serialize Method (String, Object)

 

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

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

string Serialize(
	string name,
	object value
)

Parameters

name
Type: System.String

The name of the annotation that is being serialized.

value
Type: System.Object

The value to serialize.

Return Value

Type: System.String

The serialized value.