[Mono-dev] A bug in the latest SVN System.Data (concurrency exception)?
Marek Habersack
grendel at caudium.net
Wed Oct 18 10:45:46 EDT 2006
Hey folks,
I've just noticed that whenever I try to update a dataset using the
adapter, e.g.:
cmdBuilder = CreateCommandBuilder(adapter);
adapter.Update(ds.Users);
(CreateCommandBuilder is a wrapper function that takes care of
internals)
I get a:
System.Data.DBConcurrencyException: Concurrency violation: the
UpdateCommand affected 0 records. at
System.Data.Common.DbDataAdapter.Update (System.Data.DataRow[]
dataRows, System.Data.Common.DataTableMapping tableMapping) [0x00429]
in /usr/src/tmp/mono/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:1059
And there is at least one row that needs updating, that's for sure. Can
anyone confirm that?
thanks,
marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061018/4cd2f7ab/attachment.bin
More information about the Mono-devel-list
mailing list