2007-07-22 Nagappan A <anagappan@novell.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / DbDataRecord.cs
index 69a2013f64d69937f29fd4e327334ff983c2f3ef..14bd86589f02952ef9313254524c5664a7893907 100644 (file)
@@ -48,18 +48,6 @@ namespace System.Data.Common {
                
                #region Constructors
 
-#if NET_2_0
-               [MonoTODO]
-               public DbDataRecord (object[] values, PropertyDescriptorCollection descriptors, FieldNameLookup fieldNameLookup)
-               {
-               }
-
-               [MonoTODO]
-               public DbDataRecord (SchemaInfo[] schemaInfo, object[] values, PropertyDescriptorCollection descriptors, FieldNameLookup fieldNameLookup)
-               {
-               }
-#endif
-
                internal DbDataRecord (SchemaInfo[] schema, object[] values, FieldNameLookup lookup)
                {
                        this.schema = schema;
@@ -205,14 +193,6 @@ namespace System.Data.Common {
                        return (string) lookup [i];
                }
 
-#if NET_2_0
-               [MonoTODO]
-               public virtual object GetObjectRef (int i)
-               {
-                       throw new NotImplementedException ();
-               }
-#endif
-
                public int GetOrdinal (string name)
                {
                        return lookup.IndexOf (name);
@@ -249,7 +229,7 @@ namespace System.Data.Common {
                [MonoTODO]
                AttributeCollection ICustomTypeDescriptor.GetAttributes ()
                {
-                       return new AttributeCollection(null);
+                       return new AttributeCollection (null);
                }
 
                [MonoTODO]
@@ -307,7 +287,6 @@ namespace System.Data.Common {
                                new DataColumnPropertyDescriptor[FieldCount];
 
                        DataColumnPropertyDescriptor descriptor;
-                       DataColumn dataColumn;
                        for(int col = 0; col < FieldCount; col++) {
                                descriptor = new DataColumnPropertyDescriptor(
                                        GetName(col), col, null);
@@ -342,17 +321,6 @@ namespace System.Data.Common {
                {
                        return GetValue (i) == DBNull.Value;
                }
-#if NET_2_0
-               public virtual bool IsSetAsDefault (int i)
-               {
-                       throw new NotImplementedException ();
-               }
-
-               public void SetSchemaInfo (SchemaInfo[] schemaInfo)
-               {
-                       throw new NotImplementedException ();
-               }
-#endif
 
                #endregion // Methods
        }