[Mono-bugs] [Bug 591397] System.Data.DataTableExtensions.CopyToDataTable(Of T) returns 0 Rows

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 26 20:35:11 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=591397

http://bugzilla.novell.com/show_bug.cgi?id=591397#c6


--- Comment #6 from Tony Fish <tonyvfish at googlemail.com> 2010-03-27 00:35:10 UTC ---
Created an attachment (id=350972)
 --> (http://bugzilla.novell.com/attachment.cgi?id=350972)
Patched contructor to ensure better compatability with .NET

Just 1 extra line of code added

this.e = ((IEnumerable)this._source).GetEnumerator();

Added because isClosed is the first call made by a Microsoft.Net Datatable Upon
this reader. So we must ensure this.e gets set before isClosed is called.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list