[Mono-list] Error on SqlCommandBuilder

Tim Coleman tim@timcoleman.com
Wed, 25 Dec 2002 20:20:51 -0500

On Tue, 24 Dec 2002 17:57:14 +0100
Carlos Guzmán Álvarez <carlosga@telefonica.net> wrote:

> Hello:
> There are a error on CreateDeleteCommand method of SqlCommandBuilder 
> class, on this line:
> 	parameter.Value = row [dsColumnName, DataRowVersion.Current];
> There are no current values for a deleted row on instance this needs to be:
> 	parameter.Value = row [dsColumnName, DataRowVersion.Original];

Could you please provide references within the .NET Framework documentation, as well as a test case that will validate your statement in .NET?  I would suspect that a deleted row could have a current value,
as long as the deletion hasn't been committed yet.  If it has been committed, then it will be skipped when going through the process anyway.

I think we should start cataloging these instances, since you and others find and submit these minor issues.  Any comments on the best way to organize these cases?  I suppose numbered test cases with documentation somewhere would be possible.


Tim Coleman <tim@timcoleman.com>                       [43.43 N 80.45 W]
BMath, Honours Combinatorics and Optimization, University of Waterloo
Software Developer, Global Services, Open Text Corporation
"Under capitalism, man exploits man.  Under communism, it's just the
 opposite." -- J.K. Galbraith