[Mono-bugs] [Bug 75711][Nor] Changed - We need to handle msdata:PrimaryKey in DataSet.ReadXmlSchema()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 5 03:32:33 EDT 2005

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 atsushi at ximian.com.


--- shadow/75711	2005-08-04 11:36:49.000000000 -0400
+++ shadow/75711.tmp.18862	2005-08-05 03:32:33.000000000 -0400
@@ -1,29 +1,35 @@
 Bug#: 75711
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Sys.Data
 AssignedTo: atsushi at ximian.com                            
 ReportedBy: kostat at mainsoft.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: DataTable.PrimaryKey is not set sorrectly in Dataset.ReadXmlSchema
+Summary: We need to handle msdata:PrimaryKey in DataSet.ReadXmlSchema()
 The XmlSchemaDataImporter.Process first creates the table structures and
 defines relations if needed and only after that processes constraints and
 primary keys. This leads to autogenerating of key columns for relations,
 while they are actually defined in the schema.
 Probably the correct behaviour would be assigning constraints once a table
 is generated.
 ------- Additional Comments From kostat at mainsoft.com  2005-08-04 11:36 -------
 Created an attachment (id=15534)
+------- Additional Comments From atsushi at ximian.com  2005-08-05 03:32 -------
+So maybe what we should do is to collect xsl:key whose
+msdata:PrimaryKey attribute is "true" in such element whose
+msdata:IsDataSet attribute is "true", in prior.

More information about the mono-bugs mailing list