Commit Graph
11 Commits
Author SHA1 Message Date
Nagappan Alagappan 83c2b9c184 2006-11-28 Nagappan A <[email protected]>
* XmlDataDocument.cs (StringToObject): Modify
	XmlConvert.ToDateTime to use XmlDateTimeSerializationMode, as the
	default ToDataTime method id obsolete.


svn path=/trunk/mcs/; revision=68579
2006-11-28 13:21:58 +00:00
Senganal T 483fc3041b 2006-04-19 Senganal T <[email protected]>
* Test/System.Xml/XmlDataDocumentTest2.cs : Test if DataSet schema with whitespace
	characters are saved and loaded correctly, Test if null values are 
	correctly saved and loaded, Test if creating a row in Dataset is 
	reflected in the document.
	* Test/System.Data/DataSetTest2.cs : Test if ConstraintName with whitespace is saved
	correctly.
	* System.Xml/XmlDataDocument.cs : 
		- Use encoded names for DataSet schema.
		- StringToElement : Return 'null' if the value is empty string
		or null.
		- OnDataTableRowAdded : Add the row elements to the tablenode if
		they are not already added.
	* System.Data/XmlHelper.cs : A helper class for encoding/decoding schema names.
	Caches the Schema names to minimize encoding/decoding operations and
	duplicate strings created.
	* System.Data/XmlSchemaWriter : 
		- Use XmlHelper for encoding/decoding schema names.
		- Encode ConstraintNames when writing as xml.
	* System.Data/DataSet.cs
	* System.Data/XmlDataReader.cs
	* System.Data/XmlDataInferenceLoader.cs
	* System.Data/XmlSchemaDataImporter.cs
		- Use XmlHelper for encoding/decoding schema names.
	* System.Data/DataTableCollections : Minor code refactor.
	* System.Data/DataRow.cs : Create XmlElement only if required.


svn path=/trunk/mcs/; revision=59624
2006-04-19 08:04:44 +00:00
Atsushi Eno fbd34f4d08 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs :
	  - It was not handling SimpleContent. This fixes bug #56951.
	  - It was not converting values into DataType of the DataColumn.

svn path=/trunk/mcs/; revision=28931
2004-06-06 20:08:18 +00:00
Atsushi Eno 111d31e19d 2004-05-17 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs :
	  Removed MonoTODO from implemented members and private members.
	  Updated OnNodeRemoved(), OnDataRowDeleted() and OnDataTableRollback()
	  to match with current implementation.

svn path=/trunk/mcs/; revision=27529
2004-05-17 17:41:20 +00:00
Atsushi Eno 3231b47e35 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Removed row-element mapping. Just use new
	  DataRow.DataElement property. Added/removed some comments.

svn path=/trunk/mcs/; revision=27251
2004-05-13 09:14:46 +00:00
Atsushi Eno c62a359a03 2004-05-12 Atsushi Enomoto <[email protected]>
* 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
2004-05-12 20:09:51 +00:00
Atsushi Eno 6b5e609d91 2004-04-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs:
	  Load() should not read xml multiple time nor expect BaseURI (and it
	  indicates the resource location is readable).
	  Simplified event handling logic, and fixed missing event removal.
	  Quick hack to avoid new XmlDataDocument(DataSet ds).Load ().
	  Enabled CreateNavigator() that was commented out.

svn path=/trunk/mcs/; revision=25376
2004-04-13 00:59:41 +00:00
Atsushi Eno d4e180ee69 2004-03-18 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Fixed incorrect cast in OnDataTableRowAdded().
	  This fixes bug #54505.

svn path=/trunk/mcs/; revision=24279
2004-03-18 18:03:07 +00:00
Duncan Mak 8ce905380e * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
NET_1_1.

* DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.

* XmlDataDocument.cs (BaseURI):
(InnerXml):
(IsReadOnly):
(this):
(LocalName):
(Name):
(OwnerDocument):
(WriteContentTo):
(WriteTo): Removed, these do not need to be redefined, as
they are inherited from XmlDocument already.

svn path=/trunk/mcs/; revision=16966
2003-07-31 23:24:36 +00:00
Alan Tam 86c5cbad8e 2003-03-12 Alan Tam <[email protected]>
* XmlDataDocument.cs: Still need to print tag for the DataSet if there
        is no data at all.

svn path=/trunk/mcs/; revision=12458
2003-03-12 14:04:39 +00:00
Ville Palo 81918784ee 2003-01-27 Ville Palo <[email protected]>
* ChangeLog: Added this file.
	* XmlDataDocument.cs: Some little fixes.

svn path=/trunk/mcs/; revision=10957
2003-01-27 19:01:47 +00:00