CsdlSerializer Class

Definition

Serializes an EdmModel that conforms to the restrictions of a single CSDL schema file to an XML writer. The model to be serialized must contain a single EntityContainer .

public class CsdlSerializer
type CsdlSerializer = class
Public Class CsdlSerializer
Inheritance
CsdlSerializer

Constructors

CsdlSerializer()

Methods

Serialize(EdmModel, XmlWriter, String)

Serialize the EdmModel to the XmlWriter.

Events

OnError

Occurs when an error is encountered serializing the model.

Applies to