[Mono-bugs] [Bug 60212][Nor] New - Primary key column generated while DataSet.ReadXml() should not be always the first column

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 10:55:53 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by borisk@mainsoft.com.

http://bugzilla.ximian.com/show_bug.cgi?id=60212

--- shadow/60212	2004-06-15 10:55:53.000000000 -0400
+++ shadow/60212.tmp.13132	2004-06-15 10:55:53.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 60212
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: atsushi@ximian.com                            
+ReportedBy: borisk@mainsoft.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Primary key column generated while DataSet.ReadXml() should not be always the first column
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When reading xml additional columns are generated for nested tables.
+Such a generated column is always a primary key column in parent table, 
+but it is not mandratory that this column appears first in the parent table
+columns collection - sometimes it should be the last one.
+
+Steps to reproduce the problem:
+1. Read the following xml into DataSet :
+<DataSet>
+<Table1>
+<Column11>103</Column11>
+<Column12>A</Column12>
+<Table2>
+<Column21>103</Column21>
+<Column22>0</Column22>
+</Table2>
+</Table1>
+</DataSet>
+2. Examine columns list of table names "Table1"
+
+
+Actual Results:
+Column named "Table1_Id" appears first
+
+Expected Results:
+Column named "Table1_Id" appears last
+
+How often does this happen? 
+Always
+
+Additional Information: