CsdlSerializer.Serialize(EdmModel, XmlWriter, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Sérialisez dans EdmModel 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
Paramètres
- model
- EdmModel
EdmModel à sérialiser.
- xmlWriter
- XmlWriter
XmlWriter vers laquelle sérialiser.
- modelNamespace
- String
Espace de noms du modèle sérialisé.
Retours
true si le modèle est valide ; sinon, false.
- Attributs