CsdlSerializer.Serialize Method (EdmModel, XmlWriter, String)
Serialize the EdmModel to the XmlWriter.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public bool Serialize( EdmModel model, XmlWriter xmlWriter, string modelNamespace = null )
Parameters
- model
-
Type:
System.Data.Entity.Core.Metadata.Edm.EdmModel
The EdmModel to serialize.
- xmlWriter
-
Type:
System.Xml.XmlWriter
The XmlWriter to serialize to.
- modelNamespace
-
Type:
System.String
The serialized model's namespace.