2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / ChangeLog
1 2004-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * DbDataPermission.cs : .ctor(PermissionState state) should not call
4           obsolete .ctor(state, allowBlankPassword). csc reports an error.
5
6 2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
9         AcceptChanges in Update when a CommandBuilder is used and
10         correctly fill information about primary keys in FillSchema.
11         Patch from Sergei Malinin (smalinin@amurnet.ru).
12
13 2003-12-23  Tim Coleman <tim@timcoleman.com>
14         * DbConnectionString.cs:
15                 Some implementation
16         * DbProviderFactory.cs:
17                 Fix typo to make CLS compliant
18
19 2003-12-16  Jackson Harper <jackson@ximian.com>
20
21         * SchemaTableOptionalColumn.cs: Add to fix default build
22         
23 2003-12-16  Tim Coleman <tim@timcoleman.com>
24         * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
25         * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
26         * DbConnectionString.cs DbDataSourceEnumerator.cs
27         * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
28         * DbProviderConfigurationHandler.cs DbProviderFactories.cs
29         * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
30         * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
31         * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
32         * SchemaTableColumn.cs:
33                 New stubs added for .NET 1.2
34         * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
35         * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
36         * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
37         * FieldNameLookup.cs SchemaInfo.cs:
38                 Changes made for .NET 1.2
39
40 2003-10-22  Eran Domb  <erand@miansoft.com>
41         * DbDataAdapter.cs : Check if there is mapping to avoid exception.
42
43 2003-11-26  Tim Coleman <tim@timcoleman.com>
44         * DbDataReader.cs: Add new stub class
45
46 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
47
48         * DbDataAdapter.cs: Call command dispose in self dispose method. We
49         need to dispose the connections and other stuff stored in the
50         commands.
51
52 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
53
54         * DataColumnMappingCollection.cs: Fix a missing exception when the
55         required mapping is not in the collection. MS.NET throws an
56         exception there.
57
58 2003-10-22  Eran Domb  <erand@miansoft.com>
59
60         * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).\r
61             Also closing the dataReader if an exception is thrown.\r
62         (Fill): the same as above.\r
63         (SetupSchema): in now return string (the table name). \r
64         (GetFillParameters): fix a bug.\r
65         (BuildSchema) \96 it now return Hashtable. Add columns to the table only if there is a mapping. Build an Hashtable that maps the columns from the table to the column from the reader.\r
66         (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
67         
68
69 2003-09-30  Duncan Mak  <duncan@ximian.com>
70
71         Patch from Eran Domb <eran@mainsoft.com>.
72         
73         * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
74
75 2003-09-25  Duncan Mak  <duncan@ximian.com>
76
77         * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
78         Fixes a possible NullReferenceException, more details here:
79
80         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
81
82 2003-09-21  eran <erand@mainsoft.com>
83
84         * DbDataRecord.cs: The method
85         System.Data.Common.DbDataRecord.GetValues(object[] values) did not
86         put the values of the DbDataRecord into values parameter.
87
88 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
89
90         * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
91         exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
92
93 2003-07-31  Duncan Mak  <duncan@ximian.com>
94
95         * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
96         NET_1_1.
97
98 2003-03-21  Alan Tam <Tam@SiuLung.com>
99
100         * DbDataAdapter.cs: Update now uses correct DataRowVersion
101         when accessing the data.
102
103 2003-03-17  Aleksey Demakov <avd@openlinksw.com>
104
105         * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
106         of BaseColumnName (bug #39830) for DataColumn names.
107         BaseTableName is no longer taken into account as well.
108
109 2003-02-28  Aleksey Demakov <avd@openlinksw.com>
110
111         * DbDataAdapter.cs: Update (DataSet) updates the default
112         table only.
113
114 2003-02-25  Alan Tam <Tam@SiuLung.com>
115         
116         * DbDataAdapter.cs: Added support for filling when schema is present.
117         Fixed incorrect behavior when ColumnMapping is present
118         when more than one fields have the same name. Implemented Dispose.
119         Fixed error when there is no ColumnMapping at all.
120         Still have some problems in finding the correct TableMapping
121         because the SourceTable name is not present in BuildSchema
122
123 2003-02-24  Aleksey Demakov <avd@openlinksw.com>
124
125         * DbDataAdapter.cs: The original code might pass a null DataTableMapping
126         value which is then used to create a RowUpdatingEventArgs
127         instance. So RowUpdatingEvent handler (for instance
128         CommandBuilder) could get null DataTableMapping which
129         might be unexpected. The patch makes sure that a non-null
130         DataTableMapping is passed.
131
132 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
133
134         * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
135         object is an Int16... Gotta fill a bug report and when fixed undo this
136         patch.
137
138 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
139
140         * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
141
142 2002-10-31  Daniel Morgan <danmorg@sc.rr.com>
143
144         * SchemaInfo.cs: added missing properties to fix mcs build
145
146 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
147
148         * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
149         interfaces we do not implement yet.
150
151         * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
152         we do not implement yet.
153
154         * DbDataPermissionAttribute.cs: call base constructor.
155