SsdlSerializer.Serialize Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Serialize(EdmModel, String, String, XmlWriter, Boolean) | |
Serialize(EdmModel, String, String, String, XmlWriter, Boolean) |
Serialize(EdmModel, String, String, XmlWriter, Boolean)
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Nullability")]
public virtual bool Serialize (System.Data.Entity.Core.Metadata.Edm.EdmModel dbDatabase, string provider, string providerManifestToken, System.Xml.XmlWriter xmlWriter, bool serializeDefaultNullability = true);
abstract member Serialize : System.Data.Entity.Core.Metadata.Edm.EdmModel * string * string * System.Xml.XmlWriter * bool -> bool
override this.Serialize : System.Data.Entity.Core.Metadata.Edm.EdmModel * string * string * System.Xml.XmlWriter * bool -> bool
Parametri
- dbDatabase
- EdmModel
EdmModel da serializzare
- provider
- String
Informazioni sul provider sull'elemento Schema
- providerManifestToken
- String
Informazioni su ProviderManifestToken sull'elemento Schema
- xmlWriter
- XmlWriter
XmlWriter da serializzare a
- serializeDefaultNullability
- Boolean
Valore che indica se serializzare gli attributi Nullable quando vengono impostati sul valore predefinito.
Restituisce
true se il modello può essere serializzato, in caso contrario false
- Attributi
Si applica a
Serialize(EdmModel, String, String, String, XmlWriter, Boolean)
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Nullability")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public virtual bool Serialize (System.Data.Entity.Core.Metadata.Edm.EdmModel dbDatabase, string namespaceName, string provider, string providerManifestToken, System.Xml.XmlWriter xmlWriter, bool serializeDefaultNullability = true);
abstract member Serialize : System.Data.Entity.Core.Metadata.Edm.EdmModel * string * string * string * System.Xml.XmlWriter * bool -> bool
override this.Serialize : System.Data.Entity.Core.Metadata.Edm.EdmModel * string * string * string * System.Xml.XmlWriter * bool -> bool
Parametri
- dbDatabase
- EdmModel
EdmModel da serializzare
- namespaceName
- String
Nome dello spazio dei nomi nell'elemento Schema
- provider
- String
Informazioni sul provider sull'elemento Schema
- providerManifestToken
- String
Informazioni su ProviderManifestToken sull'elemento Schema
- xmlWriter
- XmlWriter
XmlWriter da serializzare a
- serializeDefaultNullability
- Boolean
Valore che indica se serializzare gli attributi Nullable quando vengono impostati sul valore predefinito.
Restituisce
true se il modello può essere serializzato, in caso contrario false
- Attributi