diff options
7 files changed, 28 insertions, 17 deletions
diff --git a/mcs/class/System.Data/ChangeLog b/mcs/class/System.Data/ChangeLog index 4b130a18e34..d68222fe7cb 100644 --- a/mcs/class/System.Data/ChangeLog +++ b/mcs/class/System.Data/ChangeLog @@ -1,3 +1,12 @@ +2002-04-23 Rodrigo Moya <rodrigo@ximian.com> + + * System.Data.Common/DataAdapter.cs: + * System.Data.Common/DataColumnMappingCollection.cs: + * System.Data.Common/DataTableMappingCollection.cs: + * System.Data.Common/DbDataPermission.cs: + * System.Data.Common/DbDataPermissionAttribute.cs: some + compilation errors fixed. + 2002-04-23 Daniel Morgan <danmorg@sc.rr.com> * TODO: modified - added classes TODO, and diff --git a/mcs/class/System.Data/System.Data.Common/DataAdapter.cs b/mcs/class/System.Data/System.Data.Common/DataAdapter.cs index 27be1f7de41..dc8a41776fe 100644 --- a/mcs/class/System.Data/System.Data.Common/DataAdapter.cs +++ b/mcs/class/System.Data/System.Data.Common/DataAdapter.cs @@ -7,6 +7,7 @@ // (C) Ximian, Inc // +using System.ComponentModel; using System.Data; namespace System.Data.Common diff --git a/mcs/class/System.Data/System.Data.Common/DataColumnMappingCollection.cs b/mcs/class/System.Data/System.Data.Common/DataColumnMappingCollection.cs index c4f14961ab1..b6f2bb5a1cc 100644 --- a/mcs/class/System.Data/System.Data.Common/DataColumnMappingCollection.cs +++ b/mcs/class/System.Data/System.Data.Common/DataColumnMappingCollection.cs @@ -8,6 +8,7 @@ // using System; +using System.Collections; using System.Data; namespace System.Data.Common diff --git a/mcs/class/System.Data/System.Data.Common/DataTableMappingCollection.cs b/mcs/class/System.Data/System.Data.Common/DataTableMappingCollection.cs index 96ad0c884bc..5a51cd6dc7b 100644 --- a/mcs/class/System.Data/System.Data.Common/DataTableMappingCollection.cs +++ b/mcs/class/System.Data/System.Data.Common/DataTableMappingCollection.cs @@ -7,6 +7,9 @@ // (C) Ximian, Inc // +using System; +using System.Collections; + namespace System.Data.Common { /// <summary> @@ -42,12 +45,12 @@ namespace System.Data.Common } [MonoTODO] - public bool Contains(object) { + public bool Contains (object obj) { throw new NotImplementedException (); } [MonoTODO] - public bool Contains(string) { + public bool Contains (string str) { throw new NotImplementedException (); } @@ -71,37 +74,37 @@ namespace System.Data.Common } [MonoTODO] - public int IndexOf(object) { + public int IndexOf (object obj) { throw new NotImplementedException (); } [MonoTODO] - public int IndexOf(string) { + public int IndexOf (string str) { throw new NotImplementedException (); } [MonoTODO] - public int IndexOfDataSetTable(string dataSetTable) { + public int IndexOfDataSetTable (string dataSetTable) { throw new NotImplementedException (); } [MonoTODO] - public void Insert(int index, object value) { + public void Insert (int index, object value) { throw new NotImplementedException (); } [MonoTODO] - public void Remove(object value) { + public void Remove (object value) { throw new NotImplementedException (); } [MonoTODO] - public void RemoveAt(int index) { + public void RemoveAt (int index) { throw new NotImplementedException (); } [MonoTODO] - public void RemoveAt(string index) { + public void RemoveAt (string index) { throw new NotImplementedException (); } @@ -111,13 +114,13 @@ namespace System.Data.Common } [MonoTODO] - public DataTableMapping this[int] { + public DataTableMapping this[int i] { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } [MonoTODO] - public DataTableMapping this[string] { + public DataTableMapping this[string s] { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs index f14770453d7..f2e9de2d78c 100644 --- a/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs +++ b/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs @@ -7,6 +7,7 @@ // (C) Ximian, Inc // +using System.Security; using System.Security.Permissions; namespace System.Data.Common diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs index 1a7d682165e..842ea6570b1 100644 --- a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs +++ b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs @@ -7,6 +7,8 @@ // (C) Ximian, Inc // +using System.Security.Permissions; + namespace System.Data.Common { /// <summary> diff --git a/mcs/class/System.Data/System.Data/DataTable.cs b/mcs/class/System.Data/System.Data/DataTable.cs index 99380218c1b..84fc089f2e8 100644 --- a/mcs/class/System.Data/System.Data/DataTable.cs +++ b/mcs/class/System.Data/System.Data/DataTable.cs @@ -115,12 +115,6 @@ namespace System.Data //zeroColumns[] //primaryIndex[] //delayedSetPrimaryKey = null; //?? - - - - - - } /// <summary> |