Added Files.
authorChristopher Podurgiel <cpodu@mono-cvs.ximian.com>
Thu, 30 Aug 2001 08:03:12 +0000 (08:03 -0000)
committerChristopher Podurgiel <cpodu@mono-cvs.ximian.com>
Thu, 30 Aug 2001 08:03:12 +0000 (08:03 -0000)
svn path=/trunk/mcs/; revision=683

46 files changed:
mcs/class/System.Data/AcceptRejectRule.cs [new file with mode: 0644]
mcs/class/System.Data/ChangeLog [new file with mode: 0644]
mcs/class/System.Data/ChangeLog.txt [new file with mode: 0644]
mcs/class/System.Data/CommandBehavior.cs [new file with mode: 0644]
mcs/class/System.Data/CommandType.cs [new file with mode: 0644]
mcs/class/System.Data/ConnectionState.cs [new file with mode: 0644]
mcs/class/System.Data/DataColumnChangeEventHandler.cs [new file with mode: 0644]
mcs/class/System.Data/DataRowAction.cs [new file with mode: 0644]
mcs/class/System.Data/DataRowChangeEventHandler.cs [new file with mode: 0644]
mcs/class/System.Data/DataRowState.cs [new file with mode: 0644]
mcs/class/System.Data/DataRowVersion.cs [new file with mode: 0644]
mcs/class/System.Data/DataViewRowState.cs [new file with mode: 0644]
mcs/class/System.Data/DbType.cs [new file with mode: 0644]
mcs/class/System.Data/FillErrorEventHandler.cs [new file with mode: 0644]
mcs/class/System.Data/IColumnMapping.cs [new file with mode: 0644]
mcs/class/System.Data/IColumnMappingCollection.cs [new file with mode: 0644]
mcs/class/System.Data/IDataAdapter.cs [new file with mode: 0644]
mcs/class/System.Data/IDataParameter.cs [new file with mode: 0644]
mcs/class/System.Data/IDataParameterCollection.cs [new file with mode: 0644]
mcs/class/System.Data/IDataReader.cs [new file with mode: 0644]
mcs/class/System.Data/IDataRecord.cs [new file with mode: 0644]
mcs/class/System.Data/IDbCommand.cs [new file with mode: 0644]
mcs/class/System.Data/IDbConnection.cs [new file with mode: 0644]
mcs/class/System.Data/IDbDataAdapter.cs [new file with mode: 0644]
mcs/class/System.Data/IDbTransaction.cs [new file with mode: 0644]
mcs/class/System.Data/ITableMapping.cs [new file with mode: 0644]
mcs/class/System.Data/ITableMappingCollection.cs [new file with mode: 0644]
mcs/class/System.Data/IsolationLevel.cs [new file with mode: 0644]
mcs/class/System.Data/MappingType.cs [new file with mode: 0644]
mcs/class/System.Data/MergeFailedEventHandler.cs [new file with mode: 0644]
mcs/class/System.Data/MissingMappingAction.cs [new file with mode: 0644]
mcs/class/System.Data/MissingSchemaAction.cs [new file with mode: 0644]
mcs/class/System.Data/ParameterDirection.cs [new file with mode: 0644]
mcs/class/System.Data/PropertyAttributes.cs [new file with mode: 0644]
mcs/class/System.Data/Rule.cs [new file with mode: 0644]
mcs/class/System.Data/SchemaType.cs [new file with mode: 0644]
mcs/class/System.Data/SqlDbType.cs [new file with mode: 0644]
mcs/class/System.Data/StateChangeEventHandler.cs [new file with mode: 0644]
mcs/class/System.Data/StatementType.cs [new file with mode: 0644]
mcs/class/System.Data/UpdateRowSource.cs [new file with mode: 0644]
mcs/class/System.Data/UpdateStatus.cs [new file with mode: 0644]
mcs/class/System.Data/XmlReadMode.cs [new file with mode: 0644]
mcs/class/System.Data/XmlWriteMode.cs [new file with mode: 0644]
mcs/class/System.Data/common.src [new file with mode: 0644]
mcs/class/System.Data/unix.src [new file with mode: 0644]
mcs/class/System.Data/windows.src [new file with mode: 0644]

diff --git a/mcs/class/System.Data/AcceptRejectRule.cs b/mcs/class/System.Data/AcceptRejectRule.cs
new file mode 100644 (file)
index 0000000..9c94415
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.AcceptRejectRule.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       
+       /// <summary>
+       /// Determines the action that occurs when the AcceptChanges or RejectChanges method is invoked on a DataTable with a ForeignKeyConstraint.
+       /// </summary>
+       public enum AcceptRejectRule
+       {
+               Cascade,
+               None
+       }
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/ChangeLog b/mcs/class/System.Data/ChangeLog
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mcs/class/System.Data/ChangeLog.txt b/mcs/class/System.Data/ChangeLog.txt
new file mode 100644 (file)
index 0000000..ef64a2b
--- /dev/null
@@ -0,0 +1,42 @@
+2001-08-30  Christopher Podurgiel <cpodurgiel@msn.com>
+       *AcceptRejectRule.cs: Added
+       *CommandBehavior.cs: Added
+       *CommandType.cs: Added
+       *ConnectionState.cs: Added
+       *DataColumnChangeEventHandler.cs: Added
+       *DataRowAction.cs: Added
+       *DataRowChangeEventHandler.cs: Added
+       *DataRowState.cs: Added
+       *DataRowVersion.cs: Added
+       *DataViewRowState.cs: Added
+       *DbType.cs: Added
+       *FillErrorEventHandler.cs: Added
+       *IColumnMapping.cs: Added
+       *IColumnMappingCollection.cs: Added
+       *IDataAdapter.cs: Added
+       *IDataParameter.cs: Added
+       *IDataParameterCollection.cs: Added
+       *IDataReader.cs: Added
+       *IDataRecord.cs: Added
+       *IDbCommand.cs: Added
+       *IDbConnection.cs: Added
+       *IDbDataAdapter.cs: Added
+       *IDbTransaction.cs: Added
+       *IsolationLevel.cs: Added
+       *ITableMapping.cs: Added
+       *ITableMappingCollection.cs: Added
+       *MappingType.cs: Added
+       *MergeFailedEventHandler.cs: Added
+       *MissingMappingAction.cs: Added
+       *MissingSchemaAction.cs: Added
+       *ParameterDirection.cs: Added
+       *PropertyAttributes.cs: Added
+       *Rule.cs: Added
+       *SchemaType.cs: Added
+       *SqlDbType.cs: Added
+       *StateChangeEventHandler.cs: Added
+       *StatementType.cs: Added
+       *UpdateRowSource.cs: Added
+       *UpdateStatus.cs: Added
+       *XmlReadMode.cs: Added
+       *XmlWriteMode.cs: Added
diff --git a/mcs/class/System.Data/CommandBehavior.cs b/mcs/class/System.Data/CommandBehavior.cs
new file mode 100644 (file)
index 0000000..d0f71d1
--- /dev/null
@@ -0,0 +1,26 @@
+//
+// System.Data.CommandBehavior.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+
+       /// <summary>
+       /// Specifies a description of the results and the affect on the database of the query command.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
+       /// </summary>
+       public enum CommandBehavior
+       {
+               CloseConnection, 
+               KeyInfo, 
+               SchemaOnly, 
+               SequentialAccess, 
+               SingleResult, 
+               SingleRow
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/CommandType.cs b/mcs/class/System.Data/CommandType.cs
new file mode 100644 (file)
index 0000000..54d9ed4
--- /dev/null
@@ -0,0 +1,21 @@
+//
+// System.Data.CommandType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies how a command string is interpreted.
+       /// </summary>
+       public enum CommandType
+       {
+               StoredProcedure,
+               TableDirect,
+               Text
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/ConnectionState.cs b/mcs/class/System.Data/ConnectionState.cs
new file mode 100644 (file)
index 0000000..9dded51
--- /dev/null
@@ -0,0 +1,26 @@
+//
+// System.Data.ConnectionState.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+
+       /// <summary>
+       /// Returns the current state of the connection to a data source.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
+       /// </summary>
+       public enum ConnectionState
+       {
+               Broken,
+               Closed,
+               Connecting,
+               Executing,
+               Fetching,
+               Open
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataColumnChangeEventHandler.cs b/mcs/class/System.Data/DataColumnChangeEventHandler.cs
new file mode 100644 (file)
index 0000000..56e0a11
--- /dev/null
@@ -0,0 +1,17 @@
+//
+// System.Data.DataColumnChangeEventHandler.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents the method that will handle the the ColumnChanging event.
+       /// </summary>
+       public delegate void DataColumnChangeEventHandler(object sender, DataColumnChangeEventArgs e);
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataRowAction.cs b/mcs/class/System.Data/DataRowAction.cs
new file mode 100644 (file)
index 0000000..5c5ce5b
--- /dev/null
@@ -0,0 +1,26 @@
+//
+// System.Data.DataRowAction.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Describes the action taken on a DataRow.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
+       /// </summary>
+       public enum DataRowAction
+       {
+               Add,
+               Change,
+               Commit,
+               Delete,
+               Nothing,
+               Rollback
+       }
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataRowChangeEventHandler.cs b/mcs/class/System.Data/DataRowChangeEventHandler.cs
new file mode 100644 (file)
index 0000000..27bc694
--- /dev/null
@@ -0,0 +1,17 @@
+//
+// System.Data.DataRowChangeEventHandler.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents the method that will handle the RowChanging, RowChanged, RowDeleting, and RowDeleted events of a DataTable.
+       /// </summary>
+       public delegate void DataRowChangeEventHandler(object sender, DataRowChangeEventArgs e);
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataRowState.cs b/mcs/class/System.Data/DataRowState.cs
new file mode 100644 (file)
index 0000000..1c52f94
--- /dev/null
@@ -0,0 +1,24 @@
+//
+// System.Data.DataRowState.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Gets the state of a DataRow object.
+       /// </summary>
+       public enum DataRowState
+       {
+               Added,
+               Deleted,
+               Detached,
+               Modified,
+               Unchanged
+       }
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataRowVersion.cs b/mcs/class/System.Data/DataRowVersion.cs
new file mode 100644 (file)
index 0000000..b738b08
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.DataRowVersion.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Describes the version of a DataRow.
+       /// </summary>
+       public enum DataRowVersion
+       {
+               Current,
+               Default,
+               Original,
+               Proposed
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DataViewRowState.cs b/mcs/class/System.Data/DataViewRowState.cs
new file mode 100644 (file)
index 0000000..8bd7861
--- /dev/null
@@ -0,0 +1,27 @@
+//
+// System.Data.DataViewRowState.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Describes the version of data in a DataRow.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
+       /// </summary>
+       public enum DataViewRowState
+       {
+               Added,
+               CurrentRows,
+               Deleted,
+               ModifiedCurrent,
+               ModifiedOriginal,
+               None,
+               OriginalRows,
+               Unchanged
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/DbType.cs b/mcs/class/System.Data/DbType.cs
new file mode 100644 (file)
index 0000000..f6efc0c
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// System.Data.DbType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Gets the data type of a field, a property, or a Parameter object of a .NET data provider.
+       /// </summary>
+       public enum DbType
+       {
+               AnsiString,
+               Binary,
+               Boolean,
+               Byte,
+               Currency,
+               Date,
+               DateTime,
+               Decimal,
+               Double,
+               Guid,
+               Int16,
+               Int32,
+               Int64,
+               Object,
+               SByte,
+               Single,
+               String,
+               Time,
+               UInt16,
+               UInt32,
+               UInt64,
+               VarNumeric
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/FillErrorEventHandler.cs b/mcs/class/System.Data/FillErrorEventHandler.cs
new file mode 100644 (file)
index 0000000..adc2008
--- /dev/null
@@ -0,0 +1,17 @@
+//
+// System.Data.FillErrorEventHandler.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents the method that will handle the FillError event.
+       /// </summary>
+       public delegate void FillErrorEventHandler(object sender, FillErrorEventArgs e);
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IColumnMapping.cs b/mcs/class/System.Data/IColumnMapping.cs
new file mode 100644 (file)
index 0000000..3f7919c
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// System.Data.IColumnMapping.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Associates a data source column with a DataSet column, and is implemented by the DataColumnMapping class, which is used in common by .NET data providers.
+       /// </summary>
+       public interface IColumnMapping
+       {
+               string DataSetColumn
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               string SourceColumn
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IColumnMappingCollection.cs b/mcs/class/System.Data/IColumnMappingCollection.cs
new file mode 100644 (file)
index 0000000..1ae2fbf
--- /dev/null
@@ -0,0 +1,47 @@
+//
+// System.Data.IColumnMappingCollection.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Contains a collection of ColumnMapping objects, and is implemented by the DataColumnMappingCollection, which is used in common by .NET data providers.
+       /// </summary>
+       public interface IColumnMappingCollection : IList, ICollection, IEnumerable
+       {
+               IColumnMapping Add(string sourceColumnName, string dataSetColumnName)
+               {
+               }
+
+               bool Contains(string sourceColumnName)
+               {
+               }
+
+               IColumnMapping GetByDataSetColumn(string dataSetColumnName)
+               {
+               }
+
+               int IndexOf(string sourceColumnName)
+               {
+               }
+
+               void RemoveAt(string sourceColumnName)
+               {
+               }
+               
+               object this[string index]
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDataAdapter.cs b/mcs/class/System.Data/IDataAdapter.cs
new file mode 100644 (file)
index 0000000..2e4010d
--- /dev/null
@@ -0,0 +1,63 @@
+//
+// System.Data.IDataAdapter.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Allows an object to implement a DataAdapter, and represents a set of methods and mapping action-related properties used to fill and refresh a DataSet and update a data source.
+       /// </summary>
+       public interface IDataAdapter
+       {
+               int Fill(DataSet dataSet)
+               {
+               }
+
+               DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
+               {
+               }
+
+               IDataParameter[] GetFillParameters();
+
+               int Update(DataSet dataSet)
+               {
+               }
+               
+               MissingMappingAction MissingMappingAction
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               MissingSchemaAction MissingSchemaAction
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               ITableMappingCollection TableMappings
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDataParameter.cs b/mcs/class/System.Data/IDataParameter.cs
new file mode 100644 (file)
index 0000000..4fea04b
--- /dev/null
@@ -0,0 +1,77 @@
+//
+// System.Data.IDataParameter.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents a parameter to a Command object, and optionally, its mapping to DataSet columns; and is implemented by .NET data providers that access data sources.
+       /// </summary>
+       public interface IDataParameter
+       {
+               
+               DbType DbType
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               ParameterDirection Direction
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               bool IsNullable
+               {
+                       get
+                       {
+                       }
+               }
+
+               string ParameterName
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               string SourceColumn
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               DataRowVersion SourceVersion
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDataParameterCollection.cs b/mcs/class/System.Data/IDataParameterCollection.cs
new file mode 100644 (file)
index 0000000..0d2fbe6
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// System.Data.IDataParameterCollection.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Collects all parameters relevant to a Command object and their mappings to DataSet columns, and is implemented by .NET data providers that access data sources.
+       /// </summary>
+       public interface IDataParameterCollection : IList, ICollection, IEnumerable
+       {
+               void RemoveAt(string parameterName)
+               {
+               }
+               
+               int IndexOf(string parameterName)
+               {
+               }
+               
+               bool Contains(string parameterName)
+               {
+               }
+
+               object this[string parameterName]
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDataReader.cs b/mcs/class/System.Data/IDataReader.cs
new file mode 100644 (file)
index 0000000..8a91c64
--- /dev/null
@@ -0,0 +1,56 @@
+//
+// System.Data.IDataReader.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDataReader : IDataRecord
+       {
+               void Close()
+               {
+               }
+               
+               DataTable GetSchemaTable()
+               {
+               }
+               
+               bool NextResult()
+               {
+               }
+
+               bool Read()
+               {
+               }
+
+               int Depth
+               {
+                       get
+                       {
+                       }
+               }
+
+               bool IsClosed
+               {
+                       get
+                       {
+                       }
+               }
+
+               int RecordsAffected
+               {
+                       get
+                       {
+                       }
+               }
+
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDataRecord.cs b/mcs/class/System.Data/IDataRecord.cs
new file mode 100644 (file)
index 0000000..74177f5
--- /dev/null
@@ -0,0 +1,126 @@
+//
+// System.Data.IDataRecord.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Provides access to the column values within each row for a DataReader, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDataRecord
+       {
+               bool GetBoolean(int i)
+               {
+               }
+
+               byte GetByte(int i)
+               {
+               }
+
+               long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferOffset, int length)
+               {
+               }
+
+               char GetChar(int i)
+               {
+               }
+
+               long GetChars(int i, long fieldOffset, char[] buffer, int bufferOffset, int length)
+               {
+               }
+
+               IDataReader GetDate(int i)
+               {
+               }
+
+               string GetDataTypeName(int i)
+               {
+               }
+
+               DateTime GetDateTime(int i)
+               {
+               }
+
+               decimal GetDecimal(int i)
+               {
+               }
+
+               double GetDouble(int i)
+               {
+               }
+
+               Type GetFieldType(int i)
+               {
+               }
+
+               float GetFloat(int i)
+               {
+               }
+
+               Guid GetGuid(int i)
+               {
+               }
+
+               short GetInt16(int i)
+               {
+               }
+
+               int GetInt32(int i)
+               {
+               }
+
+               long GetInt64(int i)
+               {
+               }
+
+               string GetName(int i)
+               {
+               }
+
+               int GetOrdinal(string name)
+               {
+               }
+
+               string GetString(int i)
+               {
+               }
+
+               object GetValue(int i)
+               {
+               }
+
+               int GetValues(object[] values)
+               {
+               }
+
+               bool IsDBNull(int i)
+               {
+               }
+
+               int FieldCount
+               {
+                       get
+                       {
+                       }
+               }
+
+               object this[string name]
+               {
+                       get
+                       {
+                       }
+               }
+               
+               object this[int i]
+               {
+                       get
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDbCommand.cs b/mcs/class/System.Data/IDbCommand.cs
new file mode 100644 (file)
index 0000000..3838c5b
--- /dev/null
@@ -0,0 +1,113 @@
+//
+// System.Data.IDBCommand.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDBCommand
+       {
+               void Cancel()
+               {
+               }
+               
+               IDataParameter CreateParameter()
+               {
+               }
+               
+               int ExecuteNonQuery()
+               {
+               }
+
+               IDataReader ExecuteReader()
+               {
+               }
+
+               IDataReader ExecuteReader(CommandBehavior behavior)
+               {
+               }
+
+               object ExecuteScalar()
+               {
+               }
+
+               void Prepare()
+               {
+               }
+
+
+               string CommandText
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               int CommandTimeout
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               CommandTpe CommandType
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               IDbConnection Connection
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               IDataParameterCollection Parameters
+               {
+                       get
+                       {
+                       }
+               }
+
+               IDbTransaction Transaction
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               UpdateRowSource UpdatedRowSource
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDbConnection.cs b/mcs/class/System.Data/IDbConnection.cs
new file mode 100644 (file)
index 0000000..764c87e
--- /dev/null
@@ -0,0 +1,74 @@
+//
+// System.Data.IDBConnection.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents an open connection to a data source, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDBConnection
+       {
+               IDbTransaction BeginTransaction()
+               {
+               }
+
+               IDbTransaction BeginTransaction(IsolationLevel il)
+               {
+               }
+
+               void ChangeDatabase(string databaseName)
+               {
+               }
+
+               void Close()
+               {
+               }
+
+               IDbCommand CreateCommand()
+               {
+               }
+
+               void Open()
+               {
+               }
+
+
+               string ConnectionString
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               int ConnectionTimeout
+               {
+                       get
+                       {
+                       }
+               }
+
+               string Database
+               {
+                       get
+                       {
+                       }
+               }
+
+               ConnectionState State
+               {
+                       get
+                       {
+                       }
+               }
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDbDataAdapter.cs b/mcs/class/System.Data/IDbDataAdapter.cs
new file mode 100644 (file)
index 0000000..2c79895
--- /dev/null
@@ -0,0 +1,61 @@
+//
+// System.Data.IDbDataAdapter.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents a set of command-related properties that are used to fill the DataSet and update a data source, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDbDataAdapter : IDataAdapter
+       {
+
+               IDbCommand DeleteCommand
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               IDbCommand InsertCommand
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               IDbCommand SelectCommand
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               IDbCommand UpdateCommand
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IDbTransaction.cs b/mcs/class/System.Data/IDbTransaction.cs
new file mode 100644 (file)
index 0000000..1af31cd
--- /dev/null
@@ -0,0 +1,33 @@
+//
+// System.Data.IDbTransaction.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents a transaction to be performed at a data source, and is implemented by .NET data providers that access relational databases.
+       /// </summary>
+       public interface IDbTransaction
+       {
+
+               void Commit()
+               {
+               }
+
+               void Rollback()
+               {
+               }
+               
+               IsolationLevel IsolationLevel
+               {
+                       get
+                       {
+                       }
+               }
+       }       
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/ITableMapping.cs b/mcs/class/System.Data/ITableMapping.cs
new file mode 100644 (file)
index 0000000..37bbc99
--- /dev/null
@@ -0,0 +1,45 @@
+//
+// System.Data.ITableMapping.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Associates a source table with a table in a DataSet, and is implemented by the DataTableMapping class, which is used in common by .NET data providers.
+       /// </summary>
+       public interface ITableMapping
+       {
+               
+               IColumnMappingCollection ColumnMappings
+               {
+                       get
+                       {
+                       }
+               }
+
+               string DataSetTable
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+
+               string SourceTable
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/ITableMappingCollection.cs b/mcs/class/System.Data/ITableMappingCollection.cs
new file mode 100644 (file)
index 0000000..e1b091c
--- /dev/null
@@ -0,0 +1,47 @@
+//
+// System.Data.ITableMappingCollection.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Contains a collection of TableMapping objects, and is implemented by the DataTableMappingCollection, which is used in common by .NET data providers.
+       /// </summary>
+       public interface ITableMappingCollection : IList, ICollection, IEnumerable
+       {
+               ITableMapping Add(string sourceTableName, string dataSetTableName)
+               {
+               }
+               
+               bool Contains(string sourceTableName)
+               {
+               }
+               
+               ITableMapping GetByDataSetTable(string dataSetTableName)
+               {
+               }
+               
+               int IndexOf(string sourceTableName)
+               {
+               }
+               
+               void RemoveAt(string sourceTableName)
+               {
+               }
+               
+               object this[string index]
+               {
+                       get
+                       {
+                       }
+                       set
+                       {
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/IsolationLevel.cs b/mcs/class/System.Data/IsolationLevel.cs
new file mode 100644 (file)
index 0000000..6a880a8
--- /dev/null
@@ -0,0 +1,26 @@
+//
+// System.Data.IsolationLevel.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the transaction locking behavior for the connection.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
+       /// </summary>
+       public enum IsolationLevel
+       {
+               Chaos,
+               ReadCommitted,
+               ReadUnCommitted,
+               RepeatableRead,
+               Serializable,
+               Unspecified
+
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/MappingType.cs b/mcs/class/System.Data/MappingType.cs
new file mode 100644 (file)
index 0000000..4f65cf4
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.MappingType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies how a DataColumn is mapped.
+       /// </summary>
+       public enum MappingType
+       {
+               Attribute,
+               Element,
+               Hidden,
+               SimpleContent
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/MergeFailedEventHandler.cs b/mcs/class/System.Data/MergeFailedEventHandler.cs
new file mode 100644 (file)
index 0000000..318b761
--- /dev/null
@@ -0,0 +1,17 @@
+//
+// System.Data.MergeFailedEventHandler.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents the method that will handle the MergeFailed event.
+       /// </summary>
+       public delegate void MergeFailedEventHandler(object sender, MergeFailedEventArgs e);
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/MissingMappingAction.cs b/mcs/class/System.Data/MissingMappingAction.cs
new file mode 100644 (file)
index 0000000..f6586b8
--- /dev/null
@@ -0,0 +1,21 @@
+//
+// System.Data.MissingMappingAction.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Determines the action that occurs when a mapping is missing from a source table or a source column.
+       /// </summary>
+       public enum MissingMappingAction
+       {
+               Error,
+               Ignore,
+               Passthrough
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/MissingSchemaAction.cs b/mcs/class/System.Data/MissingSchemaAction.cs
new file mode 100644 (file)
index 0000000..9761b34
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.MissingSchemaAction.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the action to take when adding data to the DataSet and the required DataTable or DataColumn is missing.
+       /// </summary>
+       public enum MissingSchemaAction
+       {
+               Add,
+               AddWithKey,
+               Error,
+               Ignore
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/ParameterDirection.cs b/mcs/class/System.Data/ParameterDirection.cs
new file mode 100644 (file)
index 0000000..e7a8e67
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.ParameterDirection.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the type of a parameter within a query relative to the DataSet.
+       /// </summary>
+       public enum ParameterDirection
+       {
+               Input,
+               InputOutput,
+               Output,
+               ReturnValue
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/PropertyAttributes.cs b/mcs/class/System.Data/PropertyAttributes.cs
new file mode 100644 (file)
index 0000000..9f2d3d0
--- /dev/null
@@ -0,0 +1,24 @@
+//
+// System.Data.PropertyAttributes.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the attributes of a property.
+       /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values
+       /// </summary>
+       public enum PropertyAttributes
+       {
+               NotSupported,
+               Optional,
+               Read,
+               Required,
+               Write
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/Rule.cs b/mcs/class/System.Data/Rule.cs
new file mode 100644 (file)
index 0000000..773f05b
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.Rule.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Indicates the action that occurs when a ForeignKeyConstraint is enforced.
+       /// </summary>
+       public enum Rule
+       {
+               Cascade,
+               None,
+               SetDefault,
+               SetNull
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/SchemaType.cs b/mcs/class/System.Data/SchemaType.cs
new file mode 100644 (file)
index 0000000..96206e8
--- /dev/null
@@ -0,0 +1,20 @@
+//
+// System.Data.SchemaType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies how to handle existing schema mappings when performing a FillSchema operation.
+       /// </summary>
+       public enum SchemaType
+       {
+               Mapped,
+               Source
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/SqlDbType.cs b/mcs/class/System.Data/SqlDbType.cs
new file mode 100644 (file)
index 0000000..e4fb254
--- /dev/null
@@ -0,0 +1,42 @@
+//
+// System.Data.SqlDbType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies SQL Server data types.
+       /// </summary>
+       public enum SqlDbType
+       {
+               BigInt,
+               Binary,
+               Bit,
+               Char,
+               DateTime,
+               Decimal,
+               Float,
+               Image,
+               Int,
+               Money,
+               NChar,
+               NText,
+               NVarChar,
+               Real,
+               SmallDateTime,
+               SmallInt,
+               SmallMoney,
+               Text,
+               Timestamp,
+               TinyInt,
+               UniqueIdentifier,
+               VarBinary,
+               VarChar,
+               Variant
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/StateChangeEventHandler.cs b/mcs/class/System.Data/StateChangeEventHandler.cs
new file mode 100644 (file)
index 0000000..b8845b5
--- /dev/null
@@ -0,0 +1,17 @@
+//
+// System.Data.StateChangeEventHandler.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Represents the method that will handle the StateChange event.
+       /// </summary>
+       public delegate void StateChangeEventHandler(object sender, StateChangeEventArgs e);
+
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/StatementType.cs b/mcs/class/System.Data/StatementType.cs
new file mode 100644 (file)
index 0000000..301f89f
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.StatementType.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the type of SQL query to be used by the OleDbRowUpdatedEventArgs, OleDbRowUpdatingEventArgs, SqlRowUpdatedEventArgs, or SqlRowUpdatingEventArgs class.
+       /// </summary>
+       public enum StatementType
+       {
+               Delete,
+               Insert,
+               Select,
+               Update
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/UpdateRowSource.cs b/mcs/class/System.Data/UpdateRowSource.cs
new file mode 100644 (file)
index 0000000..c854f2c
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.UpdateRowSource.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies how query command results are applied to the row being updated.
+       /// </summary>
+       public enum UpdateRowSource
+       {
+               Both,
+               FirstReturnedRecord,
+               None,
+               OutputParameters
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/UpdateStatus.cs b/mcs/class/System.Data/UpdateStatus.cs
new file mode 100644 (file)
index 0000000..076d708
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Data.UpdateStatus.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies the action to take with regard to the current and remaining rows during an Update.
+       /// </summary>
+       public enum UpdateStatus
+       {
+               Continue,
+               ErrorsOccurred,
+               SkipAllRemainingRows,
+               SkipCurrentRow
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/XmlReadMode.cs b/mcs/class/System.Data/XmlReadMode.cs
new file mode 100644 (file)
index 0000000..fe04bbc
--- /dev/null
@@ -0,0 +1,24 @@
+//
+// System.Data.XmlReadMode.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Specifies how to read XML data and a relational schema into a DataSet.
+       /// </summary>
+       public enum XmlReadMode
+       {
+               Auto,
+               DiffGram,
+               Fragment,
+               IgnoreSchema,
+               InferSchema,
+               ReadSchema
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/XmlWriteMode.cs b/mcs/class/System.Data/XmlWriteMode.cs
new file mode 100644 (file)
index 0000000..de1d0ad
--- /dev/null
@@ -0,0 +1,21 @@
+//
+// System.Data.XmlWriteMode.cs
+//
+// Author:
+//   Christopher Podurgiel (cpodurgiel@msn.com)
+//
+// (C) Chris Podurgiel
+//
+
+namespace System.Data
+{
+       /// <summary>
+       /// Use the members of this enumeration when setting the WriteMode parameter of the WriteXml method.
+       /// </summary>
+       public enum XmlWriteMode
+       {
+               DiffGram,
+               IgnoreSchema,
+               WriteSchema
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Data/common.src b/mcs/class/System.Data/common.src
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mcs/class/System.Data/unix.src b/mcs/class/System.Data/unix.src
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/mcs/class/System.Data/windows.src b/mcs/class/System.Data/windows.src
new file mode 100644 (file)
index 0000000..e69de29