Another problem with Take() function
Posted: Fri 31 Jul 2009 10:04
Hello again
I have detected a new anomaly with the version 5.25 of DotConnet for Oracle.
In this case the problem appears in the following code:
After realizing an ordination I try to take the first 100 records. Well then, in some cases it works correctly and shows the asked information, but in others it seems that the sql sentence generated is not correct and omits someone of the records without apparent reason.
For example, is indicated it that it should arrange of inverse form the records of the table and should take the first 100 and some records do not appear in the returned query.
Could it be due to a new bug?
Thanks you
I have detected a new anomaly with the version 5.25 of DotConnet for Oracle.
In this case the problem appears in the following code:
Code: Select all
var cons1 = cons.OrderBy("it.numInf DESC");
var cons2 = cons1.Take(countPage);
return cons2.ToList();
For example, is indicated it that it should arrange of inverse form the records of the table and should take the first 100 and some records do not appear in the returned query.
Could it be due to a new bug?
Thanks you