/// <summary>
/// an in-memory cache of data
/// </summary>
- [Serializable]\r
+ [Serializable]
public class DataSet : MarshalByValueComponent, IListSource,
ISupportInitialize, ISerializable {
+
+ private string dataSetName;
+ private bool caseSensitive;
+ private bool enforceConstraints;
+ private DataTableCollection tableCollection;
#region Constructors
[MonoTODO]
- public DataSet()
- {
- //
- // TODO: Add constructor logic here
- //
+ public DataSet() {
+ tableCollection = new DataTableCollection ();
}
[MonoTODO]
- public DataSet(string dataSetName) {
+ public DataSet(string name) : this () {
+ dataSetName = name;
}
[MonoTODO]
- protected DataSet(SerializationInfo info, StreamingContext context) {
+ protected DataSet(SerializationInfo info, StreamingContext context) : this () {
+ throw new NotImplementedException ();
}
#endregion // Constructors
#region Public Properties
public bool CaseSensitive {
- [MonoTODO]
get {
- throw new NotImplementedException ();
+ return caseSensitive;
}
-
- [MonoTODO]
set {
+ caseSensitive = value;
}
}
public string DataSetName {
- [MonoTODO]
get {
- throw new NotImplementedException ();
+ return dataSetName;
}
- [MonoTODO]
set {
+ dataSetName = value;
}
}
[MonoTODO]
set {
+ throw new NotImplementedException ();
}
}
public bool EnforceConstraints {
- [MonoTODO]
get {
- throw new NotImplementedException ();
+ return enforceConstraints;
}
- [MonoTODO]
set {
+ enforceConstraints = value;
}
}
[MonoTODO]
set {
+ throw new NotImplementedException ();
}
}
[MonoTODO]
set {
+ throw new NotImplementedException ();
}
}
[MonoTODO]
set {
+ throw new NotImplementedException ();
}
}
[MonoTODO]
set {
+ throw new NotImplementedException ();
}
}
public DataTableCollection Tables {
- [MonoTODO]
get {
- throw new NotImplementedException ();
+ return tableCollection;
}
}
public DataSet GetChanges(DataRowState rowStates)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public string GetXml()
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public string GetXmlSchema()
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public virtual void RejectChanges()
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public virtual void Reset()
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(Stream stream)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(string fileName)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(TextWriter writer)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(XmlWriter writer)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(Stream stream, XmlWriteMode mode)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(string fileName, XmlWriteMode mode)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(TextWriter writer, XmlWriteMode mode)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXml(XmlWriter writer, XmlWriteMode mode)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
+ }
+
public void WriteXmlSchema(Stream stream)
- {\r
+ {
throw new NotImplementedException ();
- }\r
-\r
- public void WriteXmlSchema(string fileName) {\r
- }\r
-\r
- public void WriteXmlSchema(TextWriter writer) {\r
- }\r
-\r
- public void WriteXmlSchema(XmlWriter writer) {\r
- }\r
-\r
- #endregion // Public Methods\r
-\r
- #region Public Events\r
-\r
- public event MergeFailedEventHandler MergeFailed;\r
-\r
- #endregion // Public Events\r
-\r
- #region Destructors\r
-\r
- ~DataSet() {\r
- }\r
-\r
- #endregion Destructors\r
+ }
+
+ public void WriteXmlSchema(string fileName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void WriteXmlSchema(TextWriter writer)
+ {
+ }
+
+ public void WriteXmlSchema(XmlWriter writer)
+ {
+ throw new NotImplementedException ();
+ }
+
+ #endregion // Public Methods
+
+ #region Public Events
+
+ public event MergeFailedEventHandler MergeFailed;
+
+ #endregion // Public Events
+
+ #region Destructors
+
+ ~DataSet()
+ {
+ }
+
+ #endregion Destructors
#region IListSource methods
IList IListSource.GetList ()