IMetadataAnnotationSerializer.Serialize(String, Object) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework