In Test/System.Data:
2007-05-18 Chris Toshok <toshok@ximian.com>
* DataViewTest.cs (DefaultColumnNameAddListChangedTest): new test
for figuring out the sorts of events raised between 1.1 and 2.0
when you add a column with the default name.
In System.Data:
2007-05-18 Chris Toshok <toshok@ximian.com>
* DataColumnCollection.cs (Add ()): handle the default name case
in Add(DataColumn).
(Add (string)): same - let Add(DataColumn) handle the default name
setting.
(Add (DataColumn)): in the 1.1 case, we need to add the column's
PropertyChanged handler *before* possibly setting the column name
to the default so we emit the right events (Changed/Added). In
the 2.0 case, we add the event handler after the name is set, and
therefore only emit the Added event.
svn path=/trunk/mcs/; revision=77738