[Mono-bugs] [Bug 75711][Nor] New - DataTable.PrimaryKey is not set sorrectly in Dataset.ReadXmlSchema

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 4 11:35:43 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 kostat at mainsoft.com.

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

--- shadow/75711	2005-08-04 11:35:43.000000000 -0400
+++ shadow/75711.tmp.6823	2005-08-04 11:35:43.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 75711
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: kostat at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DataTable.PrimaryKey is not set sorrectly 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.


More information about the mono-bugs mailing list