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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework