[Mono-dev] patch for System.Data.SqlClient - SqlDataReader.GetValues() with SequentialAccess flag set

wech mono-devel-list at oopsi.de
Wed Apr 14 04:02:55 EDT 2010


Hi,

while porting a windows .Net application to mono on Linux I noticed a 
problem with the SqlDataReader implementation of GetValues() in 
combination with the CommandBehavior.SequentialAccess flag set.

It does not return any values because the ColumnCollection is not filled 
with values in SequentialAccess-Mode.

I've attached a proposed patch and a patch for the SqlDataReader unit test.

christoph

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SqlDataReader.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100414/1b39e898/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SqlDataReaderTest.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100414/1b39e898/attachment-0001.pl 


More information about the Mono-devel-list mailing list