[Mono-devel-list] Patch for DataRow.cs and its Test case
Atsushi Eno
atsushi at ximian.com
Fri Jan 21 08:13:09 EST 2005
Hi,
Applied. Thanks!
Atsushi Eno
> Attached is a patch for DataRow.cs .
>
> Explanation of the patch..
>
> 1. DataRowVersion.Current changed to .Default
>
> Default selects the right version for teh current state of the row.
> Current is not alwayz available , eg. when row state is Detached
>
> 2. The check for (RowState == DataRowState.Detached) was invalid in
> GetParentRow . Eg, for a newly created row the state is Detached, but it
> is valid to call SetParentRow and GetParentRow on it.
>
> All this has been tested on ms.net also, and the tests also run fine.
>
> I'll be sending more patches for DataRow.cs today, just need to write
> their test cases.
>
> I hope this patch is acceptable..
>
> Regards,
> Ankit
>
>
More information about the Mono-devel-list
mailing list