Compartilhar via


CsdlSerializer.Serialize(EdmModel, XmlWriter, String) Método

Definição

Serialize o EdmModel para o XmlWriter.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool Serialize (System.Data.Entity.Core.Metadata.Edm.EdmModel model, System.Xml.XmlWriter xmlWriter, string modelNamespace = null);
member this.Serialize : System.Data.Entity.Core.Metadata.Edm.EdmModel * System.Xml.XmlWriter * string -> bool

Parâmetros

model
EdmModel

O EdmModel a ser serializado.

xmlWriter
XmlWriter

O XmlWriter para o qual serializar.

modelNamespace
String

O namespace do modelo serializado.

Retornos

true se o modelo for válido; caso contrário, false.

Atributos

Aplica-se a