65b8c0bab40220bf0ebbd790042831c574372a5b
[mono.git] / mcs / class / System.Data / System.Data / DataSet.cs
1 // 
2 // System.Data/DataSet.cs
3 //
4 // Author:
5 //   Christopher Podurgiel <cpodurgiel@msn.com>
6 //   Daniel Morgan <danmorg@sc.rr.com>
7 //   Rodrigo Moya <rodrigo@ximian.com>
8 //
9 // (C) Ximian, Inc. 2002
10 //
11
12 using System;
13 using System.Collections;
14 using System.ComponentModel;
15 using System.Globalization;
16 using System.IO;
17 using System.Runtime.Serialization;
18 using System.Xml;
19
20 namespace System.Data
21 {
22         /// <summary>
23         /// an in-memory cache of data 
24         /// </summary>
25         [Serializable]\r
26         public class DataSet : MarshalByValueComponent, IListSource,
27                 ISupportInitialize, ISerializable {
28                 
29                 #region Constructors
30
31                 [MonoTODO]
32                 public DataSet()
33                 {
34                         //
35                         // TODO: Add constructor logic here
36                         //
37                 }
38
39                 [MonoTODO]
40                 public DataSet(string dataSetName) {
41                 }
42
43                 [MonoTODO]
44                 protected DataSet(SerializationInfo info, StreamingContext context) {
45                 }
46
47                 #endregion // Constructors
48
49                 #region Public Properties
50
51                 public bool CaseSensitive {
52                         [MonoTODO]
53                         get {
54                                 throw new NotImplementedException ();
55                         } 
56                         
57                         [MonoTODO]
58                         set {
59                         }
60                 }
61
62                 public string DataSetName {
63                         [MonoTODO]
64                         get {
65                                 throw new NotImplementedException ();
66                         } 
67                         
68                         [MonoTODO]
69                         set {
70                         }
71                 }
72
73                 public DataViewManager DefaultViewManager {
74                         [MonoTODO]
75                         get {
76                                 throw new NotImplementedException ();
77                         } 
78                         
79                         [MonoTODO]
80                         set {
81                         }
82                 }
83
84                 public bool EnforceConstraints {
85                         [MonoTODO]
86                         get {
87                                 throw new NotImplementedException ();
88                         } 
89                         
90                         [MonoTODO]
91                         set {
92                         }
93                 }
94
95                 public PropertyCollection ExtendedProperties {
96                         [MonoTODO]
97                         get {
98                                 throw new NotImplementedException ();
99                         }
100                 }
101
102                 public bool HasErrors {
103                         [MonoTODO]
104                         get {
105                                 throw new NotImplementedException ();
106                         }
107                 }
108
109                 public CultureInfo Locale {
110                         [MonoTODO]
111                         get { 
112                                 throw new NotImplementedException ();
113                         }
114                         
115                         [MonoTODO]
116                         set {
117                         }
118                 }
119
120                 public string Namespace {
121                         [MonoTODO]
122                         get {
123                                 throw new NotImplementedException ();
124                         } 
125                         
126                         [MonoTODO]
127                         set {
128                         }
129                 }
130
131                 public string Prefix {
132                         [MonoTODO]
133                         get {
134                                 throw new NotImplementedException ();
135                         } 
136                         
137                         [MonoTODO]
138                         set {
139                         }
140                 }
141
142                 public DataRelationCollection Relations {
143                         [MonoTODO]
144                         get{
145                                 throw new NotImplementedException ();
146                         }
147                 }
148
149                 public override ISite Site {
150                         [MonoTODO]
151                         get {
152                                 throw new NotImplementedException ();
153                         } 
154                         
155                         [MonoTODO]
156                         set {
157                         }
158                 }
159
160                 public DataTableCollection Tables {
161                         [MonoTODO]
162                         get {
163                                 throw new NotImplementedException ();
164                         }
165                 }
166
167                 #endregion // Public Properties
168
169                 #region Public Methods
170
171                 public void AcceptChanges()
172                 {
173                         throw new NotImplementedException ();
174                 }
175
176                 public void Clear()
177                 {
178                         throw new NotImplementedException ();
179                 }
180
181                 public virtual DataSet Clone()
182                 {
183                         throw new NotImplementedException ();
184                 }
185
186                 public DataSet Copy()
187                 {
188                         throw new NotImplementedException ();
189                 }
190
191                 public DataSet GetChanges()
192                 {
193                         throw new NotImplementedException ();
194                 }
195
196                 
197                 public DataSet GetChanges(DataRowState rowStates)
198                 {\r
199                         throw new NotImplementedException ();
200                 }\r
201 \r
202                 public string GetXml()
203                 {\r
204                         throw new NotImplementedException ();
205                 }\r
206 \r
207                 public string GetXmlSchema()
208                 {\r
209                         throw new NotImplementedException ();
210                 }\r
211 \r
212                 public virtual void RejectChanges()
213                 {\r
214                         throw new NotImplementedException ();
215                 }\r
216 \r
217                 public virtual void Reset()
218                 {\r
219                         throw new NotImplementedException ();
220                 }\r
221 \r
222                 public void WriteXml(Stream stream)
223                 {\r
224                         throw new NotImplementedException ();
225                 }\r
226 \r
227                 public void WriteXml(string fileName)
228                 {\r
229                         throw new NotImplementedException ();
230                 }\r
231 \r
232                 public void WriteXml(TextWriter writer)
233                 {\r
234                         throw new NotImplementedException ();
235                 }\r
236 \r
237                 public void WriteXml(XmlWriter writer)
238                 {\r
239                         throw new NotImplementedException ();
240                 }\r
241 \r
242                 public void WriteXml(Stream stream, XmlWriteMode mode)
243                 {\r
244                         throw new NotImplementedException ();
245                 }\r
246 \r
247                 public void WriteXml(string fileName, XmlWriteMode mode)
248                 {\r
249                         throw new NotImplementedException ();
250                 }\r
251 \r
252                 public void WriteXml(TextWriter writer, XmlWriteMode mode)
253                 {\r
254                         throw new NotImplementedException ();
255                 }\r
256 \r
257                 public void WriteXml(XmlWriter writer, XmlWriteMode mode)
258                 {\r
259                         throw new NotImplementedException ();
260                 }\r
261 \r
262                 public void WriteXmlSchema(Stream stream)
263                 {\r
264                         throw new NotImplementedException ();
265                 }\r
266 \r
267                 public void WriteXmlSchema(string fileName) {\r
268                 }\r
269 \r
270                 public void WriteXmlSchema(TextWriter writer) {\r
271                 }\r
272 \r
273                 public void WriteXmlSchema(XmlWriter writer) {\r
274                 }\r
275 \r
276                 #endregion // Public Methods\r
277 \r
278                 #region Public Events\r
279 \r
280                 public event MergeFailedEventHandler MergeFailed;\r
281 \r
282                 #endregion // Public Events\r
283 \r
284                 #region Destructors\r
285 \r
286                 ~DataSet() {\r
287                 }\r
288 \r
289                 #endregion Destructors\r
290
291                 #region IListSource methods
292                 IList IListSource.GetList ()
293                 {
294                         throw new NotImplementedException ();
295                 }
296
297                 bool IListSource.ContainsListCollection {
298                         get {
299                                 throw new NotImplementedException ();
300                         }
301                 }
302                 #endregion IListSource methods
303                 
304                 #region ISupportInitialize methods
305                 void ISupportInitialize.BeginInit ()
306                 {
307                         throw new NotImplementedException ();
308                 }
309
310                 void ISupportInitialize.EndInit ()
311                 {
312                         throw new NotImplementedException ();
313                 }
314                 #endregion
315
316                 #region ISerializable
317                 void ISerializable.GetObjectData (SerializationInfo si, StreamingContext sc)
318                 {
319                         throw new NotImplementedException ();
320                 }
321                 #endregion
322         }
323 }