//
using System;
+using System.IO;
+using System.Xml;
+using System.Xml.Schema;
using System.Globalization;
using System.Threading;
+using System.Xml.Serialization;
#if NET_2_0
namespace System.Data.SqlTypes
{
- [MonoTODO]
- public class SqlXml
+ [SerializableAttribute]
+ [XmlSchemaProvider ("GetXsdType")]
+ public sealed class SqlXml : INullable, IXmlSerializable
{
- public SqlXml()
+ bool notNull;
+
+ [MonoTODO]
+ public SqlXml ()
+ {
+ notNull = false;
+ }
+
+ [MonoTODO]
+ public SqlXml (Stream value)
+ {
+ if (value == null) {
+ notNull = false;
+ } else {
+ notNull = true;
+ }
+ }
+
+ [MonoTODO]
+ public SqlXml (XmlReader value)
+ {
+ if (value == null) {
+ notNull = false;
+ } else {
+ notNull = true;
+ }
+ }
+
+ public bool IsNull {
+ get { return !notNull; }
+ }
+
+ public static SqlXml Null {
+ get {
+ return new SqlXml ();
+ }
+ }
+
+ public static XmlQualifiedName GetXsdType (XmlSchemaSet schemaSet)
+ {
+ XmlQualifiedName qualifiedName = new XmlQualifiedName ("anyType", "http://www.w3.org/2001/XMLSchema");
+ return qualifiedName;
+ }
+
+ [MonoNotSupported("")]
+ public XmlReader CreateReader ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ XmlSchema IXmlSerializable.GetSchema ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void IXmlSerializable.ReadXml (XmlReader r)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ void IXmlSerializable.WriteXml (XmlWriter writer)
{
+ throw new NotImplementedException ();
}
}
}