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

David Turner DavidT at redfivelabs.com
Wed Dec 3 05:57:40 EST 2008

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.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081203/cb360360/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataSet-GetChanges-NoReadOnly.patch
Type: application/octet-stream
Size: 3021 bytes
Desc: DataSet-GetChanges-NoReadOnly.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081203/cb360360/attachment.obj 

More information about the Mono-devel-list mailing list