[Mono-dev] System.Data.DataSet.GetChanges() -- erroneous ReadOnlyException

Gert Driesen gert.driesen at telenet.be
Sun Dec 7 03:33:11 EST 2008


David,

 

Please submit a bug report for this. Also, if you add a unit test then the
patch is more likely to get applied.

 

Gert

 

From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of David Turner
Sent: woensdag 3 december 2008 11:58
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] System.Data.DataSet.GetChanges() -- erroneous
ReadOnlyException

 

When calling the GetChanges() method on a data set, a ReadOnlyException is
thrown during the construction of the changeset DataSet.  Read-only
constraints should not be enforced while the delta is being generated.  The
attached patch is my suggested fix.

 

Regards

David Turner

Red Five Labs  http://www.redfivelabs.com

 

 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.15/1834 - Release Date: 12/6/2008
4:55 PM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081207/84fe2175/attachment.html 


More information about the Mono-devel-list mailing list