[Mono-dev] DataSet.Merge() fix wrt DataRelation createConstraints
atsushi at ximian.com
Thu Jun 19 11:21:19 EDT 2008
This time the patch is about DataSet.Merge(). It fixes the final
nunit test failure. DataTableReadWriteXmlTest.TestReadXml, the
failing test, exposes failure in DataTable.Read(), but it is actually
about DataSet.Merge() which is used in the method above.
It should not create DataRelation with "createConstraints" as always
false. It should be based on the source DataRelation.
The field createConstraints should be preserved for merge, so
I also made some fix in DataRelation too.
This change exposed wrong createConstraints handling in
XmlSchemaDataImporter too, so this patch also includes fix for it.
If the fix looks good, I'll commit it later.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list