2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 12 May 2004 20:09:51 +0000 (20:09 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 12 May 2004 20:09:51 +0000 (20:09 -0000)
commitc62a359a035cf463e4ec11df1d7f723026f88b0d
tree3cfffc3fd18c8439a8f60eae12cb49efda430a38
parent8d885b09163483d12740ba15a4b72778b88fded1
2004-05-12  Atsushi Enomoto <atsushi@ximian.com>

* XmlDataDocument.cs : Radical design change.
  - GetElementFromRow() must return "detached" element, even if it is
    not added to table's Rows.
  - Introduced XmlDataElement class to map element (this class itself)
    and DataRow _always_ . It is impossible to map *all* DataRows
    to/from elements only in XmlDataDocument API, since DataRow can
    be created separate from it (i.e. by table.NewRow()).
  - Removed unreliable GetElementsByTagName() dependency from most
    of the code, since users might create elements that has the same
    name of any tables (that is possible especially unmapped elements).
  - Adding/Removing delegates on every event action is unnecessary.
    Use just flags.
  - For Load(), just using base.Load() will do most of the job.
  - Attributes and SimpleContents are not handled properly.

  "Removed" and "Rollback" events are still TODO.

svn path=/trunk/mcs/; revision=27194
mcs/class/System.Data/System.Xml/ChangeLog
mcs/class/System.Data/System.Xml/XmlDataDocument.cs