2 // System.Data/DataSet.cs
5 // Christopher Podurgiel <cpodurgiel@msn.com>
6 // Daniel Morgan <danmorg@sc.rr.com>
7 // Rodrigo Moya <rodrigo@ximian.com>
9 // (C) Ximian, Inc. 2002
13 using System.Collections;
14 using System.ComponentModel;
15 using System.Globalization;
17 using System.Runtime.Serialization;
23 /// an in-memory cache of data
26 public class DataSet : MarshalByValueComponent, IListSource,
27 ISupportInitialize, ISerializable {
29 private string dataSetName;
30 private bool caseSensitive;
31 private bool enforceConstraints;
32 private DataTableCollection tableCollection;
38 tableCollection = new DataTableCollection ();
42 public DataSet(string name) : this () {
47 protected DataSet(SerializationInfo info, StreamingContext context) : this () {
48 throw new NotImplementedException ();
51 #endregion // Constructors
53 #region Public Properties
55 public bool CaseSensitive {
60 caseSensitive = value;
64 public string DataSetName {
74 public DataViewManager DefaultViewManager {
77 throw new NotImplementedException ();
82 throw new NotImplementedException ();
86 public bool EnforceConstraints {
88 return enforceConstraints;
92 enforceConstraints = value;
96 public PropertyCollection ExtendedProperties {
99 throw new NotImplementedException ();
103 public bool HasErrors {
106 throw new NotImplementedException ();
110 public CultureInfo Locale {
113 throw new NotImplementedException ();
118 throw new NotImplementedException ();
122 public string Namespace {
125 throw new NotImplementedException ();
130 throw new NotImplementedException ();
134 public string Prefix {
137 throw new NotImplementedException ();
142 throw new NotImplementedException ();
146 public DataRelationCollection Relations {
149 throw new NotImplementedException ();
153 public override ISite Site {
156 throw new NotImplementedException ();
161 throw new NotImplementedException ();
165 public DataTableCollection Tables {
167 return tableCollection;
171 #endregion // Public Properties
173 #region Public Methods
175 public void AcceptChanges()
177 throw new NotImplementedException ();
182 throw new NotImplementedException ();
185 public virtual DataSet Clone()
187 throw new NotImplementedException ();
190 public DataSet Copy()
192 throw new NotImplementedException ();
195 public DataSet GetChanges()
197 throw new NotImplementedException ();
201 public DataSet GetChanges(DataRowState rowStates)
203 throw new NotImplementedException ();
206 public string GetXml()
208 throw new NotImplementedException ();
211 public string GetXmlSchema()
213 throw new NotImplementedException ();
216 public virtual void RejectChanges()
218 throw new NotImplementedException ();
221 public virtual void Reset()
223 throw new NotImplementedException ();
226 public void WriteXml(Stream stream)
228 throw new NotImplementedException ();
231 public void WriteXml(string fileName)
233 throw new NotImplementedException ();
236 public void WriteXml(TextWriter writer)
238 throw new NotImplementedException ();
241 public void WriteXml(XmlWriter writer)
243 throw new NotImplementedException ();
246 public void WriteXml(Stream stream, XmlWriteMode mode)
248 throw new NotImplementedException ();
251 public void WriteXml(string fileName, XmlWriteMode mode)
253 throw new NotImplementedException ();
256 public void WriteXml(TextWriter writer, XmlWriteMode mode)
258 throw new NotImplementedException ();
261 public void WriteXml(XmlWriter writer, XmlWriteMode mode)
263 throw new NotImplementedException ();
266 public void WriteXmlSchema(Stream stream)
268 throw new NotImplementedException ();
271 public void WriteXmlSchema(string fileName)
273 throw new NotImplementedException ();
276 public void WriteXmlSchema(TextWriter writer)
280 public void WriteXmlSchema(XmlWriter writer)
282 throw new NotImplementedException ();
285 #endregion // Public Methods
287 #region Public Events
289 public event MergeFailedEventHandler MergeFailed;
291 #endregion // Public Events
299 #endregion Destructors
301 #region IListSource methods
302 IList IListSource.GetList ()
304 throw new NotImplementedException ();
307 bool IListSource.ContainsListCollection {
309 throw new NotImplementedException ();
312 #endregion IListSource methods
314 #region ISupportInitialize methods
315 void ISupportInitialize.BeginInit ()
317 throw new NotImplementedException ();
320 void ISupportInitialize.EndInit ()
322 throw new NotImplementedException ();
326 #region ISerializable
327 void ISerializable.GetObjectData (SerializationInfo si, StreamingContext sc)
329 throw new NotImplementedException ();