[Mono-dev] Oracle HasRow method

Leszek Ciesielski skolima at gmail.com
Tue Aug 30 07:39:54 EDT 2011


https://github.com/mono/mono/tree/master/mcs/class/System.Data.OracleClient
and
http://www.mono-project.com/GitFAQ

On Tue, Aug 30, 2011 at 11:41 AM, Stefano Canepa <sc at linux.it> wrote:
> Dear all,
>        sorry if the following question was asked but I cannot find an answer
> neither I was able to find source code of the Oracle data assembly.
>        At work we are using Oracle Data and we have found that the HasRow
> method always return true so that even if the table/view is empty the
> code protected by the "if(xx.HasRow)" is executed returning as
> exception. Even if I understand that we can modify all our code to
> try/except I would like to understand why this behaviour that is
> different from .NET.
>
>        I was also looking for the code so that I can help providing a patch
> but I was unable to find it, could you be so kind to hekp me in finding
> it, too.
>
> TIA
> Stefano
>
> --
> Stefano Canepa aka sc: sc at linux.it - http://www.stefanocanepa.it
> Three great virtues of a programmer: laziness, impatience and hubris.
> Le tre grandi virtù di un programmatore: pigrizia, impazienza e
> arroganza. (Larry Wall)
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


More information about the Mono-devel-list mailing list