blob: 4fea0c28881ba5ccee9c4406f44fc2f5c2e8f37c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
* DbDataAdapter.cs: Call command dispose in self dispose method. We
need to dispose the connections and other stuff stored in the
commands.
2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
* DataColumnMappingCollection.cs: Fix a missing exception when the
required mapping is not in the collection. MS.NET throws an
exception there.
2003-10-22 Eran Domb <erand@miansoft.com>
* DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
Also closing the dataReader if an exception is thrown.
(Fill): the same as above.
(SetupSchema): in now return string (the table name).
(GetFillParameters): fix a bug.
(BuildSchema) – 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.
(Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
2003-09-30 Duncan Mak <duncan@ximian.com>
Patch from Eran Domb <eran@mainsoft.com>.
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
2003-09-25 Duncan Mak <duncan@ximian.com>
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
Fixes a possible NullReferenceException, more details here:
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
2003-09-21 eran <erand@mainsoft.com>
* DbDataRecord.cs: The method
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
put the values of the DbDataRecord into values parameter.
2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
2003-07-31 Duncan Mak <duncan@ximian.com>
* DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
NET_1_1.
2003-03-21 Alan Tam <Tam@SiuLung.com>
* DbDataAdapter.cs: Update now uses correct DataRowVersion
when accessing the data.
2003-03-17 Aleksey Demakov <avd@openlinksw.com>
* DbDataAdapter.cs: BuildSchema now uses ColumnName instead
of BaseColumnName (bug #39830) for DataColumn names.
BaseTableName is no longer taken into account as well.
2003-02-28 Aleksey Demakov <avd@openlinksw.com>
* DbDataAdapter.cs: Update (DataSet) updates the default
table only.
2003-02-25 Alan Tam <Tam@SiuLung.com>
* DbDataAdapter.cs: Added support for filling when schema is present.
Fixed incorrect behavior when ColumnMapping is present
when more than one fields have the same name. Implemented Dispose.
Fixed error when there is no ColumnMapping at all.
Still have some problems in finding the correct TableMapping
because the SourceTable name is not present in BuildSchema
2003-02-24 Aleksey Demakov <avd@openlinksw.com>
* DbDataAdapter.cs: The original code might pass a null DataTableMapping
value which is then used to create a RowUpdatingEventArgs
instance. So RowUpdatingEvent handler (for instance
CommandBuilder) could get null DataTableMapping which
might be unexpected. The patch makes sure that a non-null
DataTableMapping is passed.
2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DbEnumerator.cs: why does the runtime throw an invalid cast here? The
object is an Int16... Gotta fill a bug report and when fixed undo this
patch.
2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
* SchemaInfo.cs: added missing properties to fix mcs build
2002-05-05 Miguel de Icaza <miguel@ximian.com>
* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
interfaces we do not implement yet.
* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
we do not implement yet.
* DbDataPermissionAttribute.cs: call base constructor.
|