EntityModelSchemaGenerator.WriteModelSchema Method

Definition

Writes the generated conceptual schema definition language (CSDL) to the specified file.

Overloads

WriteModelSchema(String)

Writes the generated conceptual schema definition language (CSDL) to the specified file.

WriteModelSchema(XmlWriter)

Writes the generated conceptual schema definition language (CSDL) to an XmlWriter object.

WriteModelSchema(String)

Writes the generated conceptual schema definition language (CSDL) to the specified file.

C#
public void WriteModelSchema (string outputFileName);

Parameters

outputFileName
String

The name of the output file.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WriteModelSchema(XmlWriter)

Writes the generated conceptual schema definition language (CSDL) to an XmlWriter object.

C#
public void WriteModelSchema (System.Xml.XmlWriter writer);

Parameters

writer
XmlWriter

The XmlWriter to which the CSDL is written.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1