Share via


CsdlWriter Class

Definition

Provides CSDL serialization services for EDM models.

public class CsdlWriter
type CsdlWriter = class
Public Class CsdlWriter
Inheritance
CsdlWriter

Constructors

CsdlWriter(IEdmModel, Version)

Initializes a new instance of CsdlWriter class.

Methods

GetVersionString(Version)

Gets the string form of the EdmVersion. Note that Version 4.01 needs two digits of minor version precision.

TryWriteCsdl(IEdmModel, Utf8JsonWriter, CsdlJsonWriterSettings, IEnumerable<EdmError>)

Outputs a CSDL JSON artifact to the provided Utf8JsonWriter using the settings.

TryWriteCsdl(IEdmModel, Utf8JsonWriter, IEnumerable<EdmError>)

Outputs a CSDL JSON artifact to the provided Utf8JsonWriter.

TryWriteCsdl(IEdmModel, XmlWriter, CsdlTarget, IEnumerable<EdmError>)

Outputs a CSDL XML artifact to the provided XmlWriter.

WriteCsdl()

Write CSDL output.

Applies to