* DataSet.cs :
[mono.git] / mcs / class / System.Data / System.Data / DataRowBuilder.cs
1 //
2 // System.Data.DataRowBuilder
3 //
4 // Author:
5 //   Tim Coleman <tim@timcoleman.com>
6 //
7 // Copyright (C) 2002 Tim Coleman
8 //
9
10 using System;
11
12 namespace System.Data
13 {
14         /// <summary>
15         /// A supporting class that exists solely to support
16         /// DataRow and DataTable
17         /// Implementation of something meaningful will follow.
18         /// Presumably, what that is will become apparent when
19         /// constructing DataTable and DataRow.
20         /// </summary>
21
22         public class DataRowBuilder 
23         {
24                 #region Fields
25                 
26                 private DataTable table;
27                 internal int _rowId;
28
29                 #endregion
30
31                 #region Constructors
32
33                 // DataRowBuilder on .NET takes 3 arguments, a
34                 // DataTable and two Int32.  For consistency, this
35                 // class will also take those arguments.
36
37                 internal DataRowBuilder (DataTable table, Int32 rowID, Int32 y)
38                 {
39                         this.table = table;
40                         this._rowId = rowID;
41                 }
42
43                 #endregion
44
45                 #region Properties
46
47                 protected internal DataTable Table {
48                         get { return table; }
49                 }
50
51                 #endregion
52
53         }
54 }